liquidity-pools

`GET /v1/liquidity-pools/{pool_id}/activity` — the pool's operations (task 0491, issue #371), for classic and soroban pools alike (task 0374).

Changed on

Supersedes /transactions, whose row was a transaction. That unit could not carry an honest Event chip (a bundled deposit + trade collapsed to one label), forced the Amount cell to stack figures that must not be summed, and made a trades filter inexpressible — "trades only" has no truthful answer for a transaction that deposits and trades. The old path stays mounted until the frontend moves to this one (task 0491 step 3), which is also when its handler, DTO and query go.

get/v1/liquidity-pools/{pool_id}/activity

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

pool_idstring required

Pool ID — a classic pool's SEP-23 strkey (L…) or a soroban pool's contract address (C…), 56 chars.

Query parameters

limitinteger

Items per page (1–100, default 20).

cursorstring

Opaque pagination cursor from a previous response.

filter[event]string

Restrict to trade, deposit or withdrawal.

Response

Paginated pool activity, one row per operation (classic) or pool event (soroban)

Changes

    • info

      added the optional property // to the response with the status

    • breaking

      removed the required property // from the response with the status

    • info

      added the required property // to the response with the status