queryBalance
Check available fiat or crypto account balances to confirm sufficient funds before trading or requesting quotes. Returns total, available, and frozen balances for a full overview.
Instructions
Query fiat or crypto account balances.
Query Parameters:
accountCategory: Account type (fiat/crypto), defaults to fiat
currency: Currency code, omit to return all balances
Balance Information:
totalBalance: Total balance
balance: Available balance
frozenBalance: Frozen (locked) balance
Use Cases:
Display available balance before trading
Validate sufficient funds before quote application
Show detailed balance breakdown to users
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "queryBalance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | ||
| accountCategory | No | fiat |