# Bank

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

## Available Commands

| Name                                            | Description                                            |
| ----------------------------------------------- | ------------------------------------------------------ |
| [balances](broken://pages/mAZtuTFGIoxBDVrc9xZA) | Query for account balances by address                  |
| [total](broken://pages/mAZtuTFGIoxBDVrc9xZA)    | Query the total supply of coins of the chain           |
| [send](broken://pages/mAZtuTFGIoxBDVrc9xZA)     | 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 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stafihub.io/welcome-to-stafihub/chain/cli-client/bank.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
