userAssetInfoQuery
Query cryptocurrency coin balances across a specified Bybit account type. Pass accountType (and coin for UNIFIED accounts) to retrieve balances; use memberId with a master API key to get sub-account balances.
Instructions
Query coin balances across a single account type. Supports querying sub UID balance with master API key.
accountTypeis requiredFor UNIFIED account,
coinis required (comma-separated, max varies by config)memberIdis used to query sub account balance (master API key only)
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": "userAssetInfoQuery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | ||
| memberId | No | ||
| withBonus | No | 0 | |
| accountType | Yes |