Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Wallet

Hierarchy

  • Wallet

Index

Methods

  • getAccounts(): { address: string; algo: string; pubkey: null | Uint8Array }[]
  • Returns { address: string; algo: string; pubkey: null | Uint8Array }[]

  • getAccountsWithPrivKey(): { address: string; algo: string; childKey: IChildKey; pubkey: null | Uint8Array }[]
  • signDirect(signerAddress: string, signDoc: SignDoc, signOptions?: { extraEntropy?: boolean }): Promise<{ signature: StdSignature; signed: SignDoc }>
  • Parameters

    • signerAddress: string
    • signDoc: SignDoc
    • Optional signOptions: { extraEntropy?: boolean }
      • Optional extraEntropy?: boolean

    Returns Promise<{ signature: StdSignature; signed: SignDoc }>