Skip to main content

View Earned Fees

Details​

Get an overview of all fees you have earned as a broker so far.

This automatically deducts the BaaS Operating Fee, so the values you see are the values you have earned.

API Endpoint​

  • /fees - Get earned broker fees.

Example​

tip

Want to test first? Change the API base URL to https://perseverance.chainflip-broker.io. The Testing environment swaps testnet assets with no real value.

Swap the API key in the examples for your own production API key. Testing requires a separate testnet API key.

curl --location 'https://chainflip-broker.io/fees?apiKey=87517a91d5f34dbabfc1e410946a3a3c'
{
"earnedFees": {
"eth.eth": 0,
"flip.eth": 0,
"usdc.eth": 50.086951,
"usdt.eth": 0,
"dot.hub": 0,
"btc.btc": 0,
"eth.arb": 0,
"usdc.arb": 0,
"sol.sol": 0,
"usdc.sol": 0
},
"earnedFeesNative": {
"eth.eth": "0",
"flip.eth": "0",
"usdc.eth": "50086951",
"usdt.eth": "0",
"dot.hub": "0",
"btc.btc": "0",
"eth.arb": "0",
"usdc.arb": "0",
"sol.sol": "0",
"usdc.sol": "0"
}
}