Module bank
Expand description
Balances.
Modules§
- msg_
client - Generated client implementations.
- msg_
server - Generated server implementations.
- query_
client - Generated client implementations.
- query_
server - Generated server implementations.
Structs§
- Balance
- Balance defines an account address and balance pair used in the bank module’s genesis state.
- Denom
Owner - 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.
- Denom
Unit - DenomUnit represents a struct that describes a given denomination unit of the basic token.
- Genesis
State - GenesisState defines the bank module’s genesis state.
- Input
- Input models transaction input.
- Metadata
- Metadata represents a struct that describes a basic token.
- MsgMulti
Send - MsgMultiSend represents an arbitrary multi-in, multi-out send message.
- MsgMulti
Send Response - MsgMultiSendResponse defines the Msg/MultiSend response type.
- MsgSend
- MsgSend represents a message to send coins from one account to another.
- MsgSend
Response - MsgSendResponse defines the Msg/Send response type.
- MsgSet
Send Enabled - MsgSetSendEnabled is the Msg/SetSendEnabled request type.
- MsgSet
Send Enabled Response - MsgSetSendEnabledResponse defines the Msg/SetSendEnabled response type.
- MsgUpdate
Params - MsgUpdateParams is the Msg/UpdateParams request type.
- MsgUpdate
Params Response - MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
- Output
- Output models transaction outputs.
- Params
- Params defines the parameters for the bank module.
- Query
AllBalances Request - QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
- Query
AllBalances Response - QueryAllBalancesResponse is the response type for the Query/AllBalances RPC method.
- Query
Balance Request - QueryBalanceRequest is the request type for the Query/Balance RPC method.
- Query
Balance Response - QueryBalanceResponse is the response type for the Query/Balance RPC method.
- Query
Denom Metadata ByQuery String Request - QueryDenomMetadataByQueryStringRequest is the request type for the Query/DenomMetadata RPC method. Identical with QueryDenomMetadataRequest but receives denom as query string.
- Query
Denom Metadata ByQuery String Response - QueryDenomMetadataByQueryStringResponse is the response type for the Query/DenomMetadata RPC method. Identical with QueryDenomMetadataResponse but receives denom as query string in request.
- Query
Denom Metadata Request - QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method.
- Query
Denom Metadata Response - QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC method.
- Query
Denom Owners ByQuery Request - QueryDenomOwnersByQueryRequest defines the request type for the DenomOwnersByQuery RPC query, which queries for a paginated set of all account holders of a particular denomination.
- Query
Denom Owners ByQuery Response - QueryDenomOwnersByQueryResponse defines the RPC response of a DenomOwnersByQuery RPC query.
- Query
Denom Owners Request - QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, which queries for a paginated set of all account holders of a particular denomination.
- Query
Denom Owners Response - QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query.
- Query
Denoms Metadata Request - QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method.
- Query
Denoms Metadata Response - QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC method.
- Query
Params Request - QueryParamsRequest defines the request type for querying x/bank parameters.
- Query
Params Response - QueryParamsResponse defines the response type for querying x/bank parameters.
- Query
Send Enabled Request - QuerySendEnabledRequest defines the RPC request for looking up SendEnabled entries.
- Query
Send Enabled Response - QuerySendEnabledResponse defines the RPC response of a SendEnable query.
- Query
Spendable Balance ByDenom Request - QuerySpendableBalanceByDenomRequest defines the gRPC request structure for querying an account’s spendable balance for a specific denom.
- Query
Spendable Balance ByDenom Response - QuerySpendableBalanceByDenomResponse defines the gRPC response structure for querying an account’s spendable balance for a specific denom.
- Query
Spendable Balances Request - QuerySpendableBalancesRequest defines the gRPC request structure for querying an account’s spendable balances.
- Query
Spendable Balances Response - QuerySpendableBalancesResponse defines the gRPC response structure for querying an account’s spendable balances.
- Query
Supply OfRequest - QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method.
- Query
Supply OfResponse - QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method.
- Query
Total Supply Request - QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method.
- Query
Total Supply Response - QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method
- Send
Authorization - SendAuthorization allows the grantee to spend up to spend_limit coins from the granter’s account.
- Send
Enabled - SendEnabled maps coin denom to a send_enabled status (whether a denom is sendable).
- Supply
- 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.