Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AccountInterface

Hierarchy

Index

Methods

checkAddress

  • checkAddress(address?: undefined | string): boolean

checkMnemonic

  • checkMnemonic(mnemonic: string, language: Language): boolean

create

export

  • export(password: string): 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

retrieve