Skip to content

Module: Bank ​

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

Available Commands ​

Transactions ​

nibiru tx bankDescription
sendSend funds from one account to another
multi-sendSend funds from one account to two or more accounts

Queries ​

nibiru q bankDescription
balanceQuery a single account balance by address and denom
balancesQuery for account balances by address
spendable-balancesQuery for account spendable balances by address
send-enabledQuery for send enabled entries
totalQuery the total supply of coins of the chain
denom-metadataQuery the client metadata for coin denominations

nibiru q bank balances ​

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

bash
nibiru q 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)

nibiru q bank total ​

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

text
nibiru q bank total [flags]

Flags:

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

nibiru tx bank send ​

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

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

Flags:

Name, shorthandDescription
--help, -hHelp for send