Skip to content

Module: Bank ​

bank module allows you to manage assets for accounts loaded into the local keys module

Available Commands ​

Transactions ​

nibid tx bankDescription
sendSend funds from one account to another.

Queries ​

nibid query bankDescription
balancesQuery for account balances by address
totalQuery the total supply of coins of the chain
denom-metadataQuery the client metadata for coin denominations

nibid query bank balances ​

Query the total balance of an account or of a specific denomination.

bash
nibid query bank balances [address] [flags]

Args:

NameDescription
addressBech32 address that the query will return balances for

Flags:

Name, shorthandDescription
--help, -hHelp for balances
--denomThe specific balance denomination to query for
--count-totalCount total number of records in all balances to query for
--heightUse a specific block height to query state at (this can error if the node is pruning state)

nibid query bank total ​

Query total supply of coins that are held by accounts in the chain.

text
nibid query bank total [flags]

Flags:

Name, shorthandDescription
--help, -hHelp for coin-type
--denomThe specific balance denomination to query for

nibid tx bank send ​

Sending tokens to another address, this command includes generate, sign and broadcast steps.

text
nibid tx bank send [from_key_or_address] [to_address] [amount] [flags]

Flags:

Name, shorthandDescription
--help, -hHelp for send