Skip to content
onelayer.
All tools

Tool detail

preflight

Returns current Base L2 base fee, recent fee percentiles, realised volatility, congestion state and an 80% forecast range for a chosen horizon.

Categories: Onchain data

Use when

  • check current Base gas conditions before sending a transaction
  • get an 80% forecast range for Base gas over the next N minutes
  • gauge Base network congestion and fee volatility

Not for

  • not a trade or timing instruction - supporting context only, per the listing

Inputs

GET query param: horizonMinutes (integer, optional; forecast horizon in minutes, 1-60 per description)

Admitted input schema

{
  "type": "object",
  "properties": {
    "horizonMinutes": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "Forecast horizon in minutes (1-60)"
    }
  },
  "required": [],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://lotusnetworkapi.com/api/v1/gas/preflight

Payment

Protocol
x402
Listed price
0.002 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://lotusnetworkapi.com/api/v1/gas/preflight
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z