# Wallet

Wallet balance queries

## Get AMA balance

> Retrieve AMA token balance for an account

```json
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Wallet","description":"Wallet balance queries"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/wallet/balance/{pk}":{"get":{"tags":["Wallet"],"summary":"Get AMA balance","description":"Retrieve AMA token balance for an account","parameters":[{"name":"pk","in":"path","required":true,"description":"Public key (Base58 encoded)","schema":{"type":"string"}}],"responses":{"200":{"description":"Balance","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"balance":{"type":"string"}}}}}}}}}}}
```

## Get token balance

> Retrieve token balance for a specific asset

```json
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Wallet","description":"Wallet balance queries"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/wallet/balance/{pk}/{symbol}":{"get":{"tags":["Wallet"],"summary":"Get token balance","description":"Retrieve token balance for a specific asset","parameters":[{"name":"pk","in":"path","required":true,"description":"Public key (Base58 encoded)","schema":{"type":"string"}},{"name":"symbol","in":"path","required":true,"description":"Token symbol (e.g., AMA)","schema":{"type":"string"}}],"responses":{"200":{"description":"Balance","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"balance":{"type":"string"}}}}}}}}}}}
```

## Get all balances

> Retrieve all token balances for an account

```json
{"openapi":"3.0.3","info":{"title":"Amadeus Blockchain API","version":"1.5.0"},"tags":[{"name":"Wallet","description":"Wallet balance queries"}],"servers":[{"url":"https://nodes.amadeus.bot","description":"Mainnet"},{"url":"https://testnet-rpc.ama.one","description":"Testnet"}],"paths":{"/api/wallet/balance_all/{pk}":{"get":{"tags":["Wallet"],"summary":"Get all balances","description":"Retrieve all token balances for an account","parameters":[{"name":"pk","in":"path","required":true,"description":"Public key (Base58 encoded)","schema":{"type":"string"}}],"responses":{"200":{"description":"All balances","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"balances":{"type":"object","additionalProperties":{"type":"string"}}}}}}}}}}}}
```


---

# 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.ama.one/http-api/wallet.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.
