Skip to main content

Account

beaker / Account

Class: Account

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Account(wallet, signingClient, address)

Parameters

NameType
walletSecp256k1HdWallet
signingClientSigningCosmWasmClient
addressstring

Defined in

src/account.ts:28

Properties

address

address: string

Defined in

src/account.ts:26


signingClient

signingClient: SigningCosmWasmClient

Defined in

src/account.ts:24


wallet

wallet: Secp256k1HdWallet

Defined in

src/account.ts:25

Methods

getBalance

getBalance(denom): Promise<Coin>

Parameters

NameType
denomstring

Returns

Promise<Coin>

Defined in

src/account.ts:52


withDerivedAddress

Static withDerivedAddress(wallet, signingClient): Promise<Account>

Parameters

NameType
walletSecp256k1HdWallet
signingClientSigningCosmWasmClient

Returns

Promise<Account>

Defined in

src/account.ts:38