Interface AccountInterface
Methods
checkAddress
- checkAddress(address?: undefined | string): boolean
-
Parameters
-
Optional address: undefined | string
Returns boolean
checkMnemonic
- checkMnemonic(mnemonic: string, language: Language): boolean
-
Parameters
Returns boolean
export
- export(password: string): string
-
Parameters
Returns string
getBalance
- getBalance(address?: undefined | string): Promise<any>
-
Parameters
-
Optional address: undefined | string
Returns Promise<any>
getBalanceDetail
- getBalanceDetail(address?: undefined | string): Promise<any>
-
Parameters
-
Optional address: undefined | string
Returns Promise<any>
import
- import(password: string, privateKeyStr: string, cache?: undefined | false | true): AccountModel
-
Parameters
-
password: string
-
privateKeyStr: string
-
Optional cache: undefined | false | true
retrieve
-
Parameters
-
mnemonic: string
-
-
-
Optional cache: undefined | false | true