Fee ledger entries
Each trade producesFeeLedgerEntry rows — one per role (maker /
taker). In PS_QUADRATIC_V1 the maker role is always 0.
cursor
echoed back as nextCursor. limit is capped at 500 (default 100).
Response:
Pagination
Keyset-paginated, same scheme as Trades: each response carries an opaquenextCursor — pass it back as
?cursor=<nextCursor> for the next (older) page. nextCursor is null only on
the last page. limit caps the page (max 500, default 100). The legacy
?before=<ISO-8601> still works but cursor is preferred (unique tiebreaker —
a single match writes both the maker and taker fee rows with the same
createdAt, so a timestamp-only cursor would skip one at a page edge).
Fee tier
Reconciling against on-chain
Once on-chain settlement is wired, each fee ledger row gets atxHash field pointing to the settlement transaction.