XRP address balance and latest activity
xrp_address_latestQuery XRP address balances, transactions, and next sequence numbers on mainnet or testnet to inspect account activity and prepare transactions.
Instructions
Query latest XRP (Ripple) address data. Cursor pagination: use 'nextStartingAfter' from response as 'startingAfter'.
Actions: • get-balance: Get address XRP balance • list-transactions: Get address transactions • get-next-sequence: Get next available sequence number for transactions
Networks: mainnet, testnet
Credits by action (source: OpenAPI): • get-balance: xrp 20 • get-next-sequence: xrp 20 • list-transactions: xrp 110
Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.
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": {
"action": "<action>",
"network": "<network>",
"address": "<address>"
},
"name": "xrp_address_latest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of items to return (max 50) | |
| action | Yes | Action to perform: get-balance, list-transactions, get-next-sequence | |
| address | Yes | XRP address to query | |
| context | No | Optional context for the request - echoed back in response | |
| network | Yes | Network name: mainnet or testnet | |
| sortingOrder | No | Sort order: ascending (oldest first) or descending (newest first) | |
| startingAfter | No | Pagination cursor - use nextStartingAfter from previous response |