Readonly bank
bank: { allBalances: any; balance: any; denomMetadata: any; denomsMetadata: any; supplyOf: any; totalSupply: any }
Type declaration
allBalances:function
- allBalances(address: string): Promise<Coin[]>
Parameters
Returns Promise<Coin[]>
balance:function
- balance(address: string, denom: string): Promise<Coin>
Parameters
address: string
denom: string
Returns Promise<Coin>
denomMetadata:function
- denomMetadata(denom: string): Promise<Metadata>
Parameters
Returns Promise<Metadata>
denomsMetadata:function
- denomsMetadata(): Promise<Metadata[]>
Returns Promise<Metadata[]>
supplyOf:function
- supplyOf(denom: string): Promise<Coin>
Parameters
Returns Promise<Coin>
totalSupply:function
- totalSupply(paginationKey?: Uint8Array): Promise<QueryTotalSupplyResponse>
Parameters
Optional paginationKey: Uint8Array
Returns Promise<QueryTotalSupplyResponse>