Look up an account's balance and state on the ledger
lookup_accountRead an XRP Ledger account's on-ledger state, including balance in drops, owned object count, and next transaction sequence.
Instructions
Read an XRP Ledger account's on-ledger state: its balance in drops, the number of objects it owns, and its next transaction sequence.
For an account's DID Document, use resolve_did instead -- that tool returns the document itself, not the account's other state.
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": {
"address": "<address>"
},
"name": "lookup_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| network | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||