{
  "x402Version": 2,
  "id": 42465,
  "slug": "42465",
  "resource": "https://onchain-toolkit.bowling-anthony.workers.dev/gas",
  "description": "Live gas price on Ethereum, Base, Arbitrum, Optimism or Polygon, in gwei plus the cost of a plain transfer. Compare several chains in one call.",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1831f336585a6C67B6A954d28f3E07F44C4EEBbd",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "chain": "One or more of ethereum, base, arbitrum, optimism, polygon (comma-separated)."
          },
          "type": "http"
        },
        "output": {
          "example": {
            "chains": [
              {
                "chain": "base",
                "chainId": 8453,
                "gasPriceGwei": 0.006,
                "gasPriceWei": "6000000",
                "name": "Base"
              }
            ],
            "checkedAt": "2026-08-24T11:09:17.183Z",
            "note": "Gas moves every block; treat this as ..."
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "onchain-toolkit.bowling-anthony.workers.dev",
  "lastUpdated": "2026-10-08T20:07:45.643Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T20:07:45.433Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "chain": "One or more of ethereum, base, arbitrum, optimism, polygon (comma-separated)."
            },
            "type": "http"
          },
          "output": {
            "example": {
              "chains": [
                {
                  "chain": "base",
                  "chainId": 8453,
                  "gasPriceGwei": 0.006,
                  "gasPriceWei": "6000000",
                  "name": "Base"
                }
              ],
              "checkedAt": "2026-08-24T11:09:17.183Z",
              "note": "Gas moves every block; treat this as ..."
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "onchain-toolkit.bowling-anthony.workers.dev",
    "manifest_name": "onchain-toolkit.bowling-anthony.workers.dev",
    "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": {
    "chains": [
      {
        "chain": "base",
        "chainId": 8453,
        "gasPriceGwei": 0.006,
        "gasPriceWei": "6000000",
        "name": "Base"
      }
    ],
    "checkedAt": "2026-08-24T11:09:17.183Z",
    "note": "Gas moves every block; treat this as ..."
  }
}