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.
LP public key of the pool to retrieve integrator fees from. This identifies which pool to query for accumulated fees.
"03aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899"
Integrator fees retrieved successfully
Response containing integrator fees for the authenticated entity.
LP public key of the pool.
"03aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899"
Integrator public key for which fees are shown.
"03fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210"
Accumulated fees for Asset B in its smallest unit.
x >= 0"500000"