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)
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 = 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 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
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:
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.