GET
/
v1
/
integrators
/
fees
Get Integrator Fees
curl --request GET \
  --url https://api.amm.flashnet.xyz/v1/integrators/fees \
  --header 'Authorization: Bearer <token>'
{
"integratorPublicKey": "03fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210",
"pools": [
{
"assetBFees": "500000",
"assetBPubkey": "03fedcba321...",
"hostNamespace": "my-cool-exchange",
"poolId": "03aabbccddeeff00112233445566778899aabbccddeeff00112233445566778899"
}
],
"totalAssetBFees": "500000"
}

Authorizations

Authorization
string
header
required

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

Response

Integrator fees retrieved successfully

Response containing all integrator fees across pools.

integratorPublicKey
string
required

Integrator public key.

Example:

"03fedcba9876543210fedcba9876543210fedcba9876543210fedcba9876543210"

pools
object[]
required

List of pools where the integrator has accumulated fees.

totalAssetBFees
integer | null

Total fees across all pools for Asset B (if all pools use the same asset). This will be None if pools use different assets.

Required range: x >= 0