POST
/
v1
/
hosts
/
pool-integrator-fees
Get Pool Integrator Fees
curl --request POST \
  --url https://api.amm.flashnet.xyz/v1/hosts/pool-integrator-fees \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "poolId": "03aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899"
}'
{
"assetAFees": "1000000",
"assetBFees": "500000",
"integratorPublicKey": "03fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210",
"poolId": "03aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Pool ID to retrieve integrator fees from

Request payload for retrieving integrator fees from an AMM pool.

Response

200
application/json

Integrator fees retrieved successfully

Response containing integrator fees for the authenticated entity.