Methods
getAccounts
- getAccounts(): { address: string; algo: string; pubkey: null | Uint8Array }[]
Returns { address: string; algo: string; pubkey: null | Uint8Array }[]
getAccountsWithPrivKey
- getAccountsWithPrivKey(): { address: string; algo: string; childKey: IChildKey; pubkey: null | Uint8Array }[]
Returns { address: string; algo: string; childKey: IChildKey; pubkey: null | Uint8Array }[]
signAmino
Parameters
signerAddress: string
Optional signOptions: { extraEntropy: boolean }
signDirect
- 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 }>