wss://api.xrpl.to/ws/trustlines/{account}
Account trustlines streaming
Request
wss://api.xrpl.to/ws/trustlines/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE| Path parameter | Value | Description |
|---|---|---|
| account | An XRPL account, its r-address |
| Query | Value | Description |
|---|---|---|
| page | int >= 0 (default: 0) | |
| limit | int 1-50 (default: 10) | |
| format | default|raw|full | |
| sort_by_value | true — rank by XRP value |
wscat -c 'wss://api.xrpl.to/ws/trustlines/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE'
Response
{ account, accountActive, accountData, total, page, limit, lines[] } as type:"initial" then e:"update" (first frame may be either). With sort_by_value only the first 1000 trustlines are ranked: total <= 1000, totalLines = real count, truncated: true
What it does
Account trustlines streaming
setParams { page?, limit?, format?, sort_by_value? } (strict integer validation; ack: { type: "paramsUpdated", params }); resync (max 1 per 5s)