WS /ws/account/balance/pair/{account}
WS

wss://api.xrpl.to/ws/account/balance/pair/{account}

Token pair balance streaming

AuthNone — works without a key

Request

WSwss://api.xrpl.to/ws/account/balance/pair/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE
Path parameterValueDescription
accountAn XRPL account, its r-address
QueryValueDescription
curr1currency (XRP allowed)
issuer1issuer (required even for XRP)
curr2currency
issuer2issuer
wscat -c 'wss://api.xrpl.to/ws/account/balance/pair/rJqiMb94hyz41SBTNr2AyPNW8AzELa8nE'
A stream: connect with the code on the right, or wscat.

Response

Connect and every message is JSON; see the notes below for what each one carries.

What it does

Token pair balance streaming

Notes
All four params required or socket closes (4021)
OpenAPI