Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the bank Msg service.
Send defines a method for sending coins from one account to another account.
MsgSend represents a message to send coins from one account to another.
MsgSendResponse defines the Msg/Send response type.
(message has no fields)
MultiSend defines a method for sending coins from some accounts to other accounts.
MsgMultiSend represents an arbitrary multi-in, multi-out send message.
Inputs, despite being `repeated`, only allows one sender input. This is checked in MsgMultiSend's ValidateBasic.
MsgMultiSendResponse defines the Msg/MultiSend response type.
(message has no fields)
UpdateParams defines a governance operation for updating the x/bank module parameters. The authority is defined in the keeper. Since: cosmos-sdk 0.47
MsgUpdateParams is the Msg/UpdateParams request type. Since: cosmos-sdk 0.47
authority is the address that controls the module (defaults to x/gov unless overwritten).
params defines the x/bank parameters to update. NOTE: All parameters must be supplied.
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message. Since: cosmos-sdk 0.47
(message has no fields)
SetSendEnabled is a governance operation for setting the SendEnabled flag on any number of Denoms. Only the entries to add or update should be included. Entries that already exist in the store, but that aren't included in this message, will be left unchanged. Since: cosmos-sdk 0.47
MsgSetSendEnabled is the Msg/SetSendEnabled request type. Only entries to add/update/delete need to be included. Existing SendEnabled entries that are not included in this message are left unchanged. Since: cosmos-sdk 0.47
send_enabled is the list of entries to add or update.
use_default_for is a list of denoms that should use the params.default_send_enabled value. Denoms listed here will have their SendEnabled entries deleted. If a denom is included that doesn't have a SendEnabled entry, it will be ignored.
MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type. Since: cosmos-sdk 0.47
(message has no fields)
Query defines the gRPC querier service.
Balance queries the balance of a single coin for a single account.
QueryBalanceRequest is the request type for the Query/Balance RPC method.
address is the address to query balances for.
denom is the coin denom to query balances for.
QueryBalanceResponse is the response type for the Query/Balance RPC method.
balance is the balance of the coin.
AllBalances queries the balance of all coins for a single account. When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
address is the address to query balances for.
pagination defines an optional pagination for the request.
QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.
balances is the balances of all the coins.
pagination defines the pagination in the response.
SpendableBalances queries the spendable balance of all coins for a single account. When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.46
QuerySpendableBalancesRequest defines the gRPC request structure for querying an account's spendable balances. Since: cosmos-sdk 0.46
address is the address to query spendable balances for.
pagination defines an optional pagination for the request.
QuerySpendableBalancesResponse defines the gRPC response structure for querying an account's spendable balances. Since: cosmos-sdk 0.46
balances is the spendable balances of all the coins.
pagination defines the pagination in the response.
SpendableBalanceByDenom queries the spendable balance of a single denom for a single account. When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.47
QuerySpendableBalanceByDenomRequest defines the gRPC request structure for querying an account's spendable balance for a specific denom. Since: cosmos-sdk 0.47
address is the address to query balances for.
denom is the coin denom to query balances for.
QuerySpendableBalanceByDenomResponse defines the gRPC response structure for querying an account's spendable balance for a specific denom. Since: cosmos-sdk 0.47
balance is the balance of the coin.
TotalSupply queries the total supply of all coins. When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.
pagination defines an optional pagination for the request. Since: cosmos-sdk 0.43
QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method
supply is the supply of the coins
pagination defines the pagination in the response. Since: cosmos-sdk 0.43
SupplyOf queries the supply of a single coin. When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
denom is the coin denom to query balances for.
QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
amount is the supply of the coin.
Params queries the parameters of x/bank module.
QueryParamsRequest defines the request type for querying x/bank parameters.
(message has no fields)
QueryParamsResponse defines the response type for querying x/bank parameters.
DenomsMetadata queries the client metadata of a given coin denomination.
QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
denom is the coin denom to query the metadata for.
QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.
metadata describes and provides all the client information for the requested token.
DenomsMetadata queries the client metadata for all registered coin denominations.
QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
pagination defines an optional pagination for the request.
QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.
metadata provides the client information for all the registered tokens.
pagination defines the pagination in the response.
DenomOwners queries for all account addresses that own a particular token denomination. When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set. Since: cosmos-sdk 0.46
QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, which queries for a paginated set of all account holders of a particular denomination.
denom defines the coin denomination to query all account holders for.
pagination defines an optional pagination for the request.
QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. Since: cosmos-sdk 0.46
pagination defines the pagination in the response.
SendEnabled queries for SendEnabled entries. This 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. Since: cosmos-sdk 0.47
QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries. Since: cosmos-sdk 0.47
denoms is the specific denoms you want look up. Leave empty to get all entries.
pagination defines an optional pagination for the request. This field is only read if the denoms field is empty.
QuerySendEnabledResponse defines the RPC response of a SendEnable query. Since: cosmos-sdk 0.47
pagination defines the pagination in the response. This field is only populated if the denoms field in the request is empty.
Balance defines an account address and balance pair used in the bank module's genesis state.
Used in:
address is the address of the balance holder.
coins defines the different coins this balance holds.
DenomOwner defines structure representing an account that owns or holds a particular denominated token. It contains the account address and account balance of the denominated token. Since: cosmos-sdk 0.46
Used in:
address defines the address that owns a particular denomination.
balance is the balance of the denominated coin for an account.
DenomUnit represents a struct that describes a given denomination unit of the basic token.
Used in:
denom represents the string name of the given denom unit (e.g uatom).
exponent represents power of 10 exponent that one must raise the base_denom to in order to equal the given DenomUnit's denom 1 denom = 10^exponent base_denom (e.g. with a base_denom of uatom, one can create a DenomUnit of 'atom' with exponent = 6, thus: 1 atom = 10^6 uatom).
aliases is a list of string aliases for the given denom
GenesisState defines the bank module's genesis state.
params defines all the parameters of the module.
balances is an array containing the balances of all the accounts.
supply represents the total supply. If it is left empty, then supply will be calculated based on the provided balances. Otherwise, it will be used to validate that the sum of the balances equals this amount.
denom_metadata defines the metadata of the different coins.
send_enabled defines the denoms where send is enabled or disabled. Since: cosmos-sdk 0.47
Input models transaction input.
Used in:
Metadata represents a struct that describes a basic token.
Used in:
, ,denom_units represents the list of DenomUnit's for a given coin
base represents the base denom (should be the DenomUnit with exponent = 0).
display indicates the suggested denom that should be displayed in clients.
name defines the name of the token (eg: Cosmos Atom) Since: cosmos-sdk 0.43
symbol is the token symbol usually shown on exchanges (eg: ATOM). This can be the same as the display. Since: cosmos-sdk 0.43
URI to a document (on or off-chain) that contains additional information. Optional. Since: cosmos-sdk 0.46
URIHash is a sha256 hash of a document pointed by URI. It's used to verify that the document didn't change. Optional. Since: cosmos-sdk 0.46
Output models transaction outputs.
Used in:
Params defines the parameters for the bank module.
Used in:
, ,Deprecated: Use of SendEnabled in params is deprecated. For genesis, use the newly added send_enabled field in the genesis object. Storage, lookup, and manipulation of this information is now in the keeper. As of cosmos-sdk 0.47, this only exists for backwards compatibility of genesis files.
SendAuthorization allows the grantee to spend up to spend_limit coins from the granter's account. Since: cosmos-sdk 0.43
allow_list specifies an optional list of addresses to whom the grantee can send tokens on behalf of the granter. If omitted, any recipient is allowed. Since: cosmos-sdk 0.47
SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).
Used in:
, , ,Supply represents a struct that passively keeps track of the total supply amounts in the network. This message is deprecated now that supply is indexed by denom.