Liquidity

Stream available liquidity updates via SSE

Changed on

Opens a Server-Sent Events stream that pushes a LiquidityEvent whenever a pool's available liquidity changes and a FeeEvent whenever a route fee updates. Current fee and liquidity state is pushed immediately on a new connection. Liquidity events fire when a reservation is created, increased, or deleted; duration-only extensions do not trigger an event.

get/liquidity/protocol/{protocol}/events

Request

  • Base URL
    https://api.sprinter.tech
  • URL
    https://api.sprinter.tech/liquidity/protocol/{protocol}/events
  • Auth
    API key in header X-Auth-Token

Path parameters

protocolstring required

Protocol to monitor the liquidity and fees for.

Response

SSE stream of FeeEvent and LiquidityEvent objects

Changes