/v1/holders/position/{id}/{address}
One account's stake in a token — balance, share of supply and rank, without building the holder list
Request
https://api.xrpl.to/v1/holders/position/0dd550278b74cb6690fdae351e8e0df3/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE| Path parameter | Value | Description |
|---|---|---|
| id | A token id: its md5, slug or issuer_currency | |
| address | An XRPL account, its r-address |
curl 'https://api.xrpl.to/v1/holders/position/0dd550278b74cb6690fdae351e8e0df3/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE'
Response
https://api.xrpl.to/v1/holders/position/0dd550278b74cb6690fdae351e8e0df3/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE{ "success": true, "took": 1, "account": "rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE", "md5": "0dd550278b74cb6690fdae351e8e0df3", "balance": 0, "holding": 0, "rank": null, "holders": 67329 }
{ success, took, account, md5, balance, holding (% of supply, 2dp rounded down — same figure as /holders/list), rank (null until the worker ranks the token), holders }
What it does
One account's stake in a token — balance, share of supply and rank, without building the holder list