WS /ws/trustlines/{account}
WS

wss://api.xrpl.to/ws/trustlines/{account}

Account trustlines streaming

AuthNone — works without a key

Request

WSwss://api.xrpl.to/ws/trustlines/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE
Path parameterValueDescription
accountAn XRPL account, its r-address
QueryValueDescription
pageint >= 0 (default: 0)
limitint 1-50 (default: 10)
formatdefault|raw|full
sort_by_valuetrue — rank by XRP value
wscat -c 'wss://api.xrpl.to/ws/trustlines/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE'
A stream: connect with the code on the right, or wscat.

Response

Messages you receiveas documented
{
  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

Messages you send
setParams { page?, limit?, format?, sort_by_value? } (strict integer validation; ack: { type: "paramsUpdated", params }); resync (max 1 per 5s)
OpenAPI