beaker / Account
Account instance with baked-in client and utility methods
• new Account(wallet
, signingClient
, address
)
Name | Type |
---|---|
wallet |
Secp256k1HdWallet |
signingClient |
SigningCosmWasmClient |
address |
string |
• address: string
• signingClient: SigningCosmWasmClient
• wallet: Secp256k1HdWallet
▸ getBalance(denom
): Promise
<Coin
>
Get balances for specific denom, only support native coin
Name | Type |
---|---|
denom |
string |
Promise
<Coin
>
▸ Static
withDerivedAddress(wallet
, signingClient
): Promise
<Account
>
Name | Type |
---|---|
wallet |
Secp256k1HdWallet |
signingClient |
SigningCosmWasmClient |
Promise
<Account
>