Bank

Bank module allows you to manage assets in your local accounts.

Available Commands

Name
Description

Query for account balances by address

Query the total supply of coins of the chain

Create and/or sign and broadcast a MsgSend transaction

stafihubd query bank balances

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

stafihubd query bank balances [address] [flags]

Flags:

Name, shorthand
Type
Required
Default
Description

-h, --help

Help for coin-type

--denom

string

The specific balance denomination to query for

--count-total

Count total number of records in all balances to query for

stafihubd query bank total

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

stafihubd query bank total [flags]

Flags:

Name, shorthand
Type
Required
Default
Description

-h, --help

Help for coin-type

--denom

string

The specific balance denomination to query for

stafihubd tx bank send

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

stafihubd tx bank send [from_key_or_address] [to_address] [amount] [flags]

Flags:

Name, shorthand
Type
Required
Default
Description

-h, --help

Help for coin-type

Last updated