Interface: BankQueryExtensionMethods
@shareledgerjs/client.bank.BankQueryExtensionMethods
Methods
allBalances
▸ allBalances(address
, height?
): Promise
<Coin
[]>
Parameters
Name | Type |
---|---|
address | string |
height? | number |
Returns
Promise
<Coin
[]>
balance
▸ balance(address
, denom
, height?
): Promise
<Coin
>
Parameters
Name | Type |
---|---|
address | string |
denom | string |
height? | number |
Returns
Promise
<Coin
>
denomMetadata
▸ denomMetadata(denom
, height?
): Promise
<Metadata
>
Parameters
Name | Type |
---|---|
denom | string |
height? | number |
Returns
Promise
<Metadata
>
denomsMetadata
▸ denomsMetadata(height?
): Promise
<Metadata
[]>
Parameters
Name | Type |
---|---|
height? | number |
Returns
Promise
<Metadata
[]>
supplyOf
▸ supplyOf(denom
, height?
): Promise
<Coin
>
Parameters
Name | Type |
---|---|
denom | string |
height? | number |
Returns
Promise
<Coin
>
totalSupply
▸ totalSupply(height?
): Promise
<Coin
[]>
Parameters
Name | Type |
---|---|
height? | number |
Returns
Promise
<Coin
[]>