get_coin_balance
Check cryptocurrency coin balance by account type (UNIFIED, CONTRACT, SPOT, etc.) and optionally query transfer safe amount.
Instructions
Query coin balance of a specific account type.
Args:
accountType: Account type - UNIFIED, CONTRACT, SPOT, OPTION, FUND
coin: Coin name
memberId: UID (required when querying sub UID balance)
withTransferSafeAmount: Query transfer safe amount (0 or 1)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountType": "<accountType>"
},
"name": "get_coin_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | ||
| memberId | No | ||
| accountType | Yes | ||
| withTransferSafeAmount | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |