Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Host namespace and pool ID to retrieve fees from
Request payload for retrieving host fees from an AMM pool.
Host namespace to retrieve fees for. The authenticated user must be either this host's fee recipient
"my-cool-exchange"
LP public key of the pool to retrieve host fees from. This identifies which pool to query for accumulated fees.
"03aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899"
Response
Host fees retrieved successfully
Response containing host fees for the authenticated entity.
LP public key of the pool.
"03aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899"
Host namespace for which fees are shown.
"my-cool-exchange"
The entity for which fees are displayed.
"host"
Accumulated fees for Asset B in its smallest unit.
x >= 0
"500000"