Bank
AllBalances
/cosmos/bank/v1beta1/balances/{address}When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
booleanreverse is set to true if results are to be returned in the descending order.
Responses
Balance
/cosmos/bank/v1beta1/balances/{address}/by_denomBalance queries the balance of a single coin for a single account.
DenomOwners
/cosmos/bank/v1beta1/denom_owners/{denom}When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
DenomOwnersByQuery
/cosmos/bank/v1beta1/denom_owners_by_queryDenomOwnersByQuery queries for all account addresses that own a particular token denomination.
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
DenomsMetadata
/cosmos/bank/v1beta1/denoms_metadataDenomsMetadata queries the client metadata for all registered coin denominations.
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
DenomMetadata
/cosmos/bank/v1beta1/denoms_metadata/{denom}DenomMetadata queries the client metadata of a given coin denomination.
DenomMetadataByQueryString
/cosmos/bank/v1beta1/denoms_metadata_by_query_stringDenomMetadataByQueryString queries the client metadata of a given coin denomination.
SendEnabled
/cosmos/bank/v1beta1/send_enabledThis query only returns denominations that have specific SendEnabled settings. Any denomination that does not have a specific setting will use the default params.default_send_enabled, and will not be returned by this query.
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
SpendableBalances
/cosmos/bank/v1beta1/spendable_balances/{address}When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
SpendableBalanceByDenom
/cosmos/bank/v1beta1/spendable_balances/{address}/by_denomWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
TotalSupply
/cosmos/bank/v1beta1/supplyWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
SupplyOf
/cosmos/bank/v1beta1/supply/by_denomWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.