terminalOptimal Priority Fees Endpoint

Returns optimized and recommended priority fee levels based on recent arbitrage transaction data.

Note: this returns micro-lamports. Which can be used directly in SetComputeUnitPrice instructions.

POST https://api.getfomo.bot/priority-fees

Request

curl -X POST https://api.getfomo.bot/priority-fees \
  -H "Content-Type: application/json" \
  -H "x-api-key: your-api-key-here"

Response

{
  "success": true,
  "result": {
    "priority_fee_levels": {
      "min": 0,
      "low": 2000,
      "medium": 120000,
      "high": 500000,
      "very_high": 1000000
    },
    "recommended": 120000
  }
}

Last updated