Bank queries
Create a queryClient
// Instantiate tmClient
const tmClient = await Tendermint34Client.connect(rpcUrl);
// Create client with bankExtension
const client = QueryClient.withExtensions(tmClient, setupBankExtension);
Available query methods
| Method | Description | Params |
|---|---|---|
| .auth.account | address: string | |
| .bank.balance | address: string, denom: string | |
| .bank.allBalances | address: string | |
| .bank.totalSupply | none | |
| .bank.supplyOf | denom: string | |
| .bank.denomMetadata | denom: string | |
| .bank.denomsMetadata | none |