Skip to main content

Interface: BankQueryExtensionMethods

@shareledgerjs/client.bank.BankQueryExtensionMethods

Methods

allBalances

allBalances(address, height?): Promise<Coin[]>

Parameters

NameType
addressstring
height?number

Returns

Promise<Coin[]>


balance

balance(address, denom, height?): Promise<Coin>

Parameters

NameType
addressstring
denomstring
height?number

Returns

Promise<Coin>


denomMetadata

denomMetadata(denom, height?): Promise<Metadata>

Parameters

NameType
denomstring
height?number

Returns

Promise<Metadata>


denomsMetadata

denomsMetadata(height?): Promise<Metadata[]>

Parameters

NameType
height?number

Returns

Promise<Metadata[]>


supplyOf

supplyOf(denom, height?): Promise<Coin>

Parameters

NameType
denomstring
height?number

Returns

Promise<Coin>


totalSupply

totalSupply(height?): Promise<Coin[]>

Parameters

NameType
height?number

Returns

Promise<Coin[]>