GET
/
fees
Get swap fees.
curl --request GET \
  --url https://{environment}.garden.finance/v2/fees
{
"success": true,
"result": "2668122"
}
Returns total fees processed by Garden from genesis in USD, or affiliate fees if a garden-app-id header is provided.

Headers

garden-app-id
string

Garden app ID for affiliate fee information

Response

200 - application/json

Total swap fees or affiliate fees if garden-app-id is provided. For affiliate fees, claim_amount and claim_transaction are only included if the affiliate has not yet claimed their fees.

The response is of type object.