get_account_lines
Retrieve trust lines and token balances for any XRPL account, showing held and receivable tokens. Filter by issuer or network for precise results.
Instructions
Get trust lines (token balances) for an XRPL account. Shows all tokens the account holds or can receive.
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": {
"account": "<account>"
},
"name": "get_account_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | No | Optional: Filter to trust lines with this specific issuer account | |
| limit | No | Maximum number of trust lines to return (default: 200) | |
| account | Yes | The XRPL account address (starts with r) | |
| network | No | The XRPL network to query (default: mainnet) |