`GET /v1/liquidity-pools/{pool_id}/activity` — the pool's operations (task 0491, issue #371), for classic and soroban pools alike (task 0374).
Changed onSupersedes /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.
Request
- The document declares no server URL.
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Path parameters
Pool ID — a classic pool's SEP-23 strkey (L…) or a soroban pool's contract address (C…), 56 chars.
Query parameters
Items per page (1–100, default 20).
Opaque pagination cursor from a previous response.
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
- info
- breaking
removed the required property
//from the response with the status - info
added the required property
//to the response with the status
- breaking