Interface ConcreteCosmosWalletStrategy
Hierarchy
- ConcreteCosmosWalletStrategy
Methods
getAddresses
- getAddresses(): Promise<string[]>
Returns Promise<string[]>
getPubKey
- getPubKey(): Promise<string>
isChainIdSupported
Parameters
Returns Promise<boolean>
signAminoTransaction
- signAminoTransaction(transaction: { address: string; stdSignDoc: StdSignDoc }): Promise<AminoSignResponse>
Parameters
transaction: { address: string; stdSignDoc: StdSignDoc }
address: string
stdSignDoc: StdSignDoc
Returns Promise<AminoSignResponse>
signTransaction
- signTransaction(transaction: { accountNumber: number; address: string; chainId: string; txRaw: TxRaw }): Promise<DirectSignResponse>
Parameters
transaction: { accountNumber: number; address: string; chainId: string; txRaw: TxRaw }
accountNumber: number
address: string
chainId: string
The accounts from the wallet (addresses)