Account
beaker / Account
Class: Account
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Account(wallet
, signingClient
, address
)
Parameters
Name | Type |
---|---|
wallet | Secp256k1HdWallet |
signingClient | SigningCosmWasmClient |
address | string |
Defined in
Properties
address
• address: string
Defined in
signingClient
• signingClient: SigningCosmWasmClient
Defined in
wallet
• wallet: Secp256k1HdWallet
Defined in
Methods
getBalance
▸ getBalance(denom
): Promise
<Coin
>
Parameters
Name | Type |
---|---|
denom | string |
Returns
Promise
<Coin
>
Defined in
withDerivedAddress
▸ Static
withDerivedAddress(wallet
, signingClient
): Promise
<Account
>
Parameters
Name | Type |
---|---|
wallet | Secp256k1HdWallet |
signingClient | SigningCosmWasmClient |
Returns
Promise
<Account
>