Get asset holder rank
get_asset_holder_rankRetrieves an account's balance rank among all holders of a specified Stellar asset, including its position and the total holder count.
Instructions
Get an account’s relative balance rank among holders of an asset (position and total holder count).
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": {
"asset": "<asset>",
"account": "<account>"
},
"name": "get_asset_holder_rank"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset identifier: native XLM, or CODE-ISSUER (optionally with -1), e.g. USDC-GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN | |
| account | Yes | Stellar account address (G followed by 55 base32 characters) | |
| network | No | Stellar network. Defaults to STELLAR_EXPERT_NETWORK or public. |