This endpoint allows authenticated integrators to retrieve their accumulated trading fees from a specific AMM pool. Only the fees for the authenticated integrator are returned.
The authenticated token’s public key must match the integrator’s public key to see their fees.
This ensures integrators can only view their own fees.
The AMM system tracks fees separately for:
poolId
- The LP public key of the pool to queryReturns fee information for the authenticated integrator:
pool_id
- Pool identifier (LP public key)200 OK
with fee information for authenticated integrator400 Bad Request
if request is invalid401 Unauthorized
if authentication fails404 Not Found
if pool does not exist500 Internal Server Error
if fee retrieval failsBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Pool ID to retrieve integrator fees from
Request payload for retrieving integrator fees from an AMM pool.
Integrator fees retrieved successfully
Response containing integrator fees for the authenticated entity.