WS /ws/amm/info
WS

wss://api.xrpl.to/ws/amm/info

Live AMM pool info streaming (5s poll)

AuthNone — works without a key

Request

WSwss://api.xrpl.to/ws/amm/info
QueryValueDescription
amm_accountAMM account address
asset"XRP", token id, or {"currency","issuer"} JSON
asset2same forms as asset
wscat -c 'wss://api.xrpl.to/ws/amm/info'
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

Live AMM pool info streaming (5s poll)

Notes
Provide amm_account OR both asset and asset2; response: initial { type, amm } then { e: "amm", E, amm } on change
OpenAPI