> For the complete documentation index, see [llms.txt](https://docs.saga.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.saga.xyz/sagacli/account-management/checking-account-balances.md).

# Checking Account Balances

## View Account Balance of the Default Account

If you have a default key configured for `sagacli` (see [Configuring a Default Key](/sagacli/key-management/adding-keys.md#configuring-a-default-key-in-sagacli) in `sagacli`), you can check its balance by typing:

```
sagacli account balance
```

This will print the balance of the account associated to the default key.

Example:

```
$ sagacli account balance
Amount           Denom
------           -----
999999970000     upsaga
```

## View Account Balance of any Account

To check the balance of any account on the network, just type

```
sagacli account balance --address <address of the account>
```

For example, to check the balance of an account associated with an example key called `fundkey`, execute the following command:

```
sagacli account balance --address saga14hyhswxf0shnpzup406yvjejmfsrjnvzq897re
```

This will print the balance (in `upsaga`) associated with this account. In this case, it prints:

```
$ sagacli account balance --address saga14hyhswxf0shnpzup406yvjejmfsrjnvzq897re
Amount     Denom
------     -----
0          upsaga
```

{% hint style="info" %}
You can retrieve the account number associated to a key by executing `sagacli keys show -a <keyname>`
{% endhint %}

Example:

```
$ sagacli keys show -a fundkey
saga14hyhswxf0shnpzup406yvjejmfsrjnvzq897re

```

It is also possible to combine the two commands i.e. getting the balance and getting the account number, so you do not need to execute two commands, one to get the account number from the key, and another to get the balance associated to that account.&#x20;

Execute:

```
sagacli account balance --address $(sagacli keys show -a <keyname>)
```

Example:

```
$ sagacli account balance --address `sagacli keys show -a fundkey`
Amount     Denom
------     -----
0          upsaga
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.saga.xyz/sagacli/account-management/checking-account-balances.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
