{
  "x402Version": 2,
  "id": 38591,
  "slug": "38591",
  "resource": "https://lotusnetworkapi.com/api/v1/gas/preflight",
  "description": "Read-only Base L2 gas conditions computed directly from chain data: current base fee, recent percentiles, realised volatility, congestion state, and an 80% forecast range for a chosen horizon. This is supporting context for timing a transaction, not a trade instruction. Every figure is reproducible from public Base RPC data.",
  "type": "http",
  "resourceType": "Travel",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3268C9434D8603957420f04510CA0ff6097A5C64",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "block": {
            "type": "number"
          },
          "chain": {
            "type": "string"
          },
          "current": {
            "description": "baseFeeGwei, congestion, gasUsedRatio",
            "type": "object"
          },
          "forecast": {
            "description": "centerGwei, lowGwei, highGwei, targetBlock, interval",
            "type": "object"
          },
          "observedAt": {
            "type": "string"
          },
          "recent": {
            "description": "medianGwei, p10Gwei, p90Gwei, volatility, blocks",
            "type": "object"
          },
          "success": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "horizonMinutes": 5
          },
          "type": "http"
        },
        "output": {
          "example": {
            "block": 24881003,
            "chain": "base-mainnet",
            "current": {
              "baseFeeGwei": 0.0142,
              "congestion": "calm",
              "gasUsedRatio": 0.31
            },
            "forecast": {
              "centerGwei": 0.0139,
              "highGwei": 0.0182,
              "horizonMinutes": 5,
              "interval": 0.8,
              "lowGwei": 0.0106,
              "method": "mean-reverting log random walk on realised block volatility",
              "targetBlock": 24881153
            },
            "observedAt": "2026-07-30T04:12:00.000Z",
            "recent": {
              "blocks": 300,
              "medianGwei": 0.0138,
              "p10Gwei": 0.0119,
              "p90Gwei": 0.0181,
              "volatility": 0.041
            },
            "success": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "horizonMinutes": {
                    "description": "Forecast horizon in minutes (1-60)",
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "block": {
                    "type": "number"
                  },
                  "chain": {
                    "type": "string"
                  },
                  "current": {
                    "description": "baseFeeGwei, congestion, gasUsedRatio",
                    "type": "object"
                  },
                  "forecast": {
                    "description": "centerGwei, lowGwei, highGwei, targetBlock, interval",
                    "type": "object"
                  },
                  "observedAt": {
                    "type": "string"
                  },
                  "recent": {
                    "description": "medianGwei, p10Gwei, p90Gwei, volatility, blocks",
                    "type": "object"
                  },
                  "success": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "lotusnetworkapi.com",
  "lastUpdated": "2026-10-08T05:34:31.464Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-10-08T05:34:31.169Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "horizonMinutes": 5
            },
            "type": "http"
          },
          "output": {
            "example": {
              "block": 24881003,
              "chain": "base-mainnet",
              "current": {
                "baseFeeGwei": 0.0142,
                "congestion": "calm",
                "gasUsedRatio": 0.31
              },
              "forecast": {
                "centerGwei": 0.0139,
                "highGwei": 0.0182,
                "horizonMinutes": 5,
                "interval": 0.8,
                "lowGwei": 0.0106,
                "method": "mean-reverting log random walk on realised block volatility",
                "targetBlock": 24881153
              },
              "observedAt": "2026-07-30T04:12:00.000Z",
              "recent": {
                "blocks": 300,
                "medianGwei": 0.0138,
                "p10Gwei": 0.0119,
                "p90Gwei": 0.0181,
                "volatility": 0.041
              },
              "success": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "horizonMinutes": {
                      "description": "Forecast horizon in minutes (1-60)",
                      "type": "integer"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "block": {
                      "type": "number"
                    },
                    "chain": {
                      "type": "string"
                    },
                    "current": {
                      "description": "baseFeeGwei, congestion, gasUsedRatio",
                      "type": "object"
                    },
                    "forecast": {
                      "description": "centerGwei, lowGwei, highGwei, targetBlock, interval",
                      "type": "object"
                    },
                    "observedAt": {
                      "type": "string"
                    },
                    "recent": {
                      "description": "medianGwei, p10Gwei, p90Gwei, volatility, blocks",
                      "type": "object"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "lotusnetworkapi.com",
    "manifest_name": "lotusnetworkapi.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "block": 0,
      "chain": "string",
      "current": {},
      "forecast": {},
      "observedAt": "string",
      "recent": {},
      "success": true
    },
    "type": "string"
  }
}