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.
MsgMultiSendResponse defines the Msg/MultiSend response type.
(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.
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 spenable balance of all coins for a single account.
QuerySpendableBalancesRequest defines the gRPC request structure for querying an account's spendable balances.
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.
balances is the spendable balances of all the coins.
pagination defines the pagination in the response.
TotalSupply queries the total supply of all coins.
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.
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.
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.
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 = 1^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 paramaters 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 differents coins.
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
Output models transaction outputs.
Used in:
Params defines the parameters for the bank module.
Used in:
,SendAuthorization allows the grantee to spend up to spend_limit coins from the granter's account. Since: cosmos-sdk 0.43
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.