{
  "x402Version": 2,
  "id": 26945,
  "slug": "26945",
  "resource": "https://evm-gas.apitoll.cloud/v1/evm/gas",
  "description": "Multi-chain EVM gas price oracle for AI agents — 17 chains (Ethereum, Base, Arbitrum, Optimism, Polygon, BNB, Avalanche…). One x402 call returns slow/standard/fast EIP-1559 tiers as DROP-IN maxFeePerGas + maxPriorityFeePerGas in wei (plug straight into a viem/ethers tx, no conversion, exact even on sub-gwei L2s), plus base fee, head block, and fullness, from a live eth_feeHistory call. Pass ?chain= to switch chains.",
  "type": "http",
  "serviceName": "ApiToll Multi-Chain EVM Gas",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xcc69d619E6053F88A4845066518f465bD06Fc96c",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "base_fee_gwei": {
            "description": "Base fee for the next block (gwei, human-readable).",
            "type": "number"
          },
          "base_fee_wei": {
            "description": "Base fee in wei (exact, BigInt-ready decimal string).",
            "type": "string"
          },
          "block_number": {
            "type": "integer"
          },
          "caip2": {
            "type": "string"
          },
          "chain": {
            "enum": [
              "ethereum",
              "base",
              "optimism",
              "arbitrum",
              "polygon",
              "avalanche",
              "gnosis",
              "linea",
              "scroll",
              "blast",
              "mode",
              "opbnb",
              "celo",
              "bsc",
              "fantom",
              "zksync",
              "mantle"
            ],
            "type": "string"
          },
          "chain_name": {
            "type": "string"
          },
          "gas_model": {
            "enum": [
              "eip1559",
              "mostly-legacy",
              "non-standard"
            ],
            "type": "string"
          },
          "gas_note": {
            "type": "string"
          },
          "stats": {
            "properties": {
              "blocks_sampled": {
                "type": "integer"
              },
              "median_fullness_pct": {
                "type": "number"
              },
              "ts": {
                "format": "date-time",
                "type": "string"
              }
            },
            "type": "object"
          },
          "tiers": {
            "description": "Slow (p10) / standard (p50) / fast (p90) EIP-1559 fee tiers. Each carries human gwei (max_fee_gwei/max_priority_gwei) AND DROP-IN wei (maxFeePerGas/maxPriorityFeePerGas, BigInt-ready) to plug straight into a viem/ethers tx.",
            "properties": {
              "fast": {
                "properties": {
                  "maxFeePerGas": {
                    "type": "string"
                  },
                  "maxPriorityFeePerGas": {
                    "type": "string"
                  },
                  "max_fee_gwei": {
                    "type": "number"
                  },
                  "max_priority_gwei": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "slow": {
                "properties": {
                  "maxFeePerGas": {
                    "type": "string"
                  },
                  "maxPriorityFeePerGas": {
                    "type": "string"
                  },
                  "max_fee_gwei": {
                    "type": "number"
                  },
                  "max_priority_gwei": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "standard": {
                "properties": {
                  "maxFeePerGas": {
                    "type": "string"
                  },
                  "maxPriorityFeePerGas": {
                    "type": "string"
                  },
                  "max_fee_gwei": {
                    "type": "number"
                  },
                  "max_priority_gwei": {
                    "type": "number"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "blocks": 20,
            "chain": "ethereum"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "base_fee_gwei": 8.421,
            "base_fee_wei": "8421000000",
            "block_number": 21403217,
            "caip2": "eip155:1",
            "chain": "ethereum",
            "chain_name": "Ethereum mainnet",
            "gas_model": "eip1559",
            "stats": {
              "blocks_sampled": 20,
              "median_fullness_pct": 45.5,
              "ts": "2026-05-28T15:42:30.000Z"
            },
            "tiers": {
              "fast": {
                "maxFeePerGas": "14831000000",
                "maxPriorityFeePerGas": "2200000000",
                "max_fee_gwei": 14.831,
                "max_priority_gwei": 2.2
              },
              "slow": {
                "maxFeePerGas": "12631000000",
                "maxPriorityFeePerGas": "1000000",
                "max_fee_gwei": 12.631,
                "max_priority_gwei": 0.001
              },
              "standard": {
                "maxFeePerGas": "13731000000",
                "maxPriorityFeePerGas": "1100000000",
                "max_fee_gwei": 13.731,
                "max_priority_gwei": 1.1
              }
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "blocks": {
                    "description": "Recent blocks to sample for percentile reward (1..50, clamped).",
                    "maximum": 50,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "chain": {
                    "description": "Target EVM chain id. One of: ethereum, base, optimism, arbitrum, polygon, avalanche, gnosis, linea, scroll, blast, mode, opbnb, celo, bsc, fantom, zksync, mantle. Also accepts common aliases (eth, arb, op, matic, avax, bnb). Default: ethereum.",
                    "enum": [
                      "ethereum",
                      "base",
                      "optimism",
                      "arbitrum",
                      "polygon",
                      "avalanche",
                      "gnosis",
                      "linea",
                      "scroll",
                      "blast",
                      "mode",
                      "opbnb",
                      "celo",
                      "bsc",
                      "fantom",
                      "zksync",
                      "mantle"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "chain"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "base_fee_gwei": {
                    "description": "Base fee for the next block (gwei, human-readable).",
                    "type": "number"
                  },
                  "base_fee_wei": {
                    "description": "Base fee in wei (exact, BigInt-ready decimal string).",
                    "type": "string"
                  },
                  "block_number": {
                    "type": "integer"
                  },
                  "caip2": {
                    "type": "string"
                  },
                  "chain": {
                    "enum": [
                      "ethereum",
                      "base",
                      "optimism",
                      "arbitrum",
                      "polygon",
                      "avalanche",
                      "gnosis",
                      "linea",
                      "scroll",
                      "blast",
                      "mode",
                      "opbnb",
                      "celo",
                      "bsc",
                      "fantom",
                      "zksync",
                      "mantle"
                    ],
                    "type": "string"
                  },
                  "chain_name": {
                    "type": "string"
                  },
                  "gas_model": {
                    "enum": [
                      "eip1559",
                      "mostly-legacy",
                      "non-standard"
                    ],
                    "type": "string"
                  },
                  "gas_note": {
                    "type": "string"
                  },
                  "stats": {
                    "properties": {
                      "blocks_sampled": {
                        "type": "integer"
                      },
                      "median_fullness_pct": {
                        "type": "number"
                      },
                      "ts": {
                        "format": "date-time",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "tiers": {
                    "description": "Slow (p10) / standard (p50) / fast (p90) EIP-1559 fee tiers. Each carries human gwei (max_fee_gwei/max_priority_gwei) AND DROP-IN wei (maxFeePerGas/maxPriorityFeePerGas, BigInt-ready) to plug straight into a viem/ethers tx.",
                    "properties": {
                      "fast": {
                        "properties": {
                          "maxFeePerGas": {
                            "type": "string"
                          },
                          "maxPriorityFeePerGas": {
                            "type": "string"
                          },
                          "max_fee_gwei": {
                            "type": "number"
                          },
                          "max_priority_gwei": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "slow": {
                        "properties": {
                          "maxFeePerGas": {
                            "type": "string"
                          },
                          "maxPriorityFeePerGas": {
                            "type": "string"
                          },
                          "max_fee_gwei": {
                            "type": "number"
                          },
                          "max_priority_gwei": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      },
                      "standard": {
                        "properties": {
                          "maxFeePerGas": {
                            "type": "string"
                          },
                          "maxPriorityFeePerGas": {
                            "type": "string"
                          },
                          "max_fee_gwei": {
                            "type": "number"
                          },
                          "max_priority_gwei": {
                            "type": "number"
                          }
                        },
                        "type": "object"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "evm",
    "gas",
    "multi-chain",
    "gas-oracle",
    "ethereum",
    "bazaar"
  ],
  "sourceHost": "evm-gas.apitoll.cloud",
  "lastUpdated": "2026-10-10T00:01:53.122Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 8,
    "lastCalledAt": "2026-10-10T00:01:52.613Z"
  },
  "metadata": {
    "serviceName": "ApiToll Multi-Chain EVM Gas",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "blocks": 20,
              "chain": "ethereum"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "base_fee_gwei": 8.421,
              "base_fee_wei": "8421000000",
              "block_number": 21403217,
              "caip2": "eip155:1",
              "chain": "ethereum",
              "chain_name": "Ethereum mainnet",
              "gas_model": "eip1559",
              "stats": {
                "blocks_sampled": 20,
                "median_fullness_pct": 45.5,
                "ts": "2026-05-28T15:42:30.000Z"
              },
              "tiers": {
                "fast": {
                  "maxFeePerGas": "14831000000",
                  "maxPriorityFeePerGas": "2200000000",
                  "max_fee_gwei": 14.831,
                  "max_priority_gwei": 2.2
                },
                "slow": {
                  "maxFeePerGas": "12631000000",
                  "maxPriorityFeePerGas": "1000000",
                  "max_fee_gwei": 12.631,
                  "max_priority_gwei": 0.001
                },
                "standard": {
                  "maxFeePerGas": "13731000000",
                  "maxPriorityFeePerGas": "1100000000",
                  "max_fee_gwei": 13.731,
                  "max_priority_gwei": 1.1
                }
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "blocks": {
                      "description": "Recent blocks to sample for percentile reward (1..50, clamped).",
                      "maximum": 50,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "chain": {
                      "description": "Target EVM chain id. One of: ethereum, base, optimism, arbitrum, polygon, avalanche, gnosis, linea, scroll, blast, mode, opbnb, celo, bsc, fantom, zksync, mantle. Also accepts common aliases (eth, arb, op, matic, avax, bnb). Default: ethereum.",
                      "enum": [
                        "ethereum",
                        "base",
                        "optimism",
                        "arbitrum",
                        "polygon",
                        "avalanche",
                        "gnosis",
                        "linea",
                        "scroll",
                        "blast",
                        "mode",
                        "opbnb",
                        "celo",
                        "bsc",
                        "fantom",
                        "zksync",
                        "mantle"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "chain"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "base_fee_gwei": {
                      "description": "Base fee for the next block (gwei, human-readable).",
                      "type": "number"
                    },
                    "base_fee_wei": {
                      "description": "Base fee in wei (exact, BigInt-ready decimal string).",
                      "type": "string"
                    },
                    "block_number": {
                      "type": "integer"
                    },
                    "caip2": {
                      "type": "string"
                    },
                    "chain": {
                      "enum": [
                        "ethereum",
                        "base",
                        "optimism",
                        "arbitrum",
                        "polygon",
                        "avalanche",
                        "gnosis",
                        "linea",
                        "scroll",
                        "blast",
                        "mode",
                        "opbnb",
                        "celo",
                        "bsc",
                        "fantom",
                        "zksync",
                        "mantle"
                      ],
                      "type": "string"
                    },
                    "chain_name": {
                      "type": "string"
                    },
                    "gas_model": {
                      "enum": [
                        "eip1559",
                        "mostly-legacy",
                        "non-standard"
                      ],
                      "type": "string"
                    },
                    "gas_note": {
                      "type": "string"
                    },
                    "stats": {
                      "properties": {
                        "blocks_sampled": {
                          "type": "integer"
                        },
                        "median_fullness_pct": {
                          "type": "number"
                        },
                        "ts": {
                          "format": "date-time",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "tiers": {
                      "description": "Slow (p10) / standard (p50) / fast (p90) EIP-1559 fee tiers. Each carries human gwei (max_fee_gwei/max_priority_gwei) AND DROP-IN wei (maxFeePerGas/maxPriorityFeePerGas, BigInt-ready) to plug straight into a viem/ethers tx.",
                      "properties": {
                        "fast": {
                          "properties": {
                            "maxFeePerGas": {
                              "type": "string"
                            },
                            "maxPriorityFeePerGas": {
                              "type": "string"
                            },
                            "max_fee_gwei": {
                              "type": "number"
                            },
                            "max_priority_gwei": {
                              "type": "number"
                            }
                          },
                          "type": "object"
                        },
                        "slow": {
                          "properties": {
                            "maxFeePerGas": {
                              "type": "string"
                            },
                            "maxPriorityFeePerGas": {
                              "type": "string"
                            },
                            "max_fee_gwei": {
                              "type": "number"
                            },
                            "max_priority_gwei": {
                              "type": "number"
                            }
                          },
                          "type": "object"
                        },
                        "standard": {
                          "properties": {
                            "maxFeePerGas": {
                              "type": "string"
                            },
                            "maxPriorityFeePerGas": {
                              "type": "string"
                            },
                            "max_fee_gwei": {
                              "type": "number"
                            },
                            "max_priority_gwei": {
                              "type": "number"
                            }
                          },
                          "type": "object"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "evm-gas.apitoll.cloud",
    "manifest_name": "evm-gas.apitoll.cloud",
    "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": {
      "base_fee_gwei": 0,
      "base_fee_wei": "string",
      "block_number": 0,
      "caip2": "string",
      "chain": "ethereum",
      "chain_name": "string",
      "gas_model": "eip1559",
      "gas_note": "string",
      "stats": {
        "blocks_sampled": 0,
        "median_fullness_pct": 0,
        "ts": "2026-01-01T00:00:00Z"
      },
      "tiers": {
        "fast": {
          "maxFeePerGas": "string",
          "maxPriorityFeePerGas": "string",
          "max_fee_gwei": 0,
          "max_priority_gwei": 0
        },
        "slow": {
          "maxFeePerGas": "string",
          "maxPriorityFeePerGas": "string",
          "max_fee_gwei": 0,
          "max_priority_gwei": 0
        },
        "standard": {
          "maxFeePerGas": "string",
          "maxPriorityFeePerGas": "string",
          "max_fee_gwei": 0,
          "max_priority_gwei": 0
        }
      }
    },
    "type": "string"
  }
}