ToolAssay

Use when an agent must price or time a Base transaction

Use when an agent must price or time a Base transaction. Input: none. Output: JSON current and next base fee, priority fee tiers (slow/standard/fast from the last 20 blocks), suggested maxFeePerGas, block fullness, and typical cost of an ETH transfer, ERC-20 transfer/approve, DEX swap, NFT mint and contract deploy (L2 fee + L1 data fee) in ETH and USD. Example: /v1/onchain/base/gas

Not tested: has real-world effectsour last check, 2026-10-18
0 of 0checks answered this week
n/amedian answer time
$0.002listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://1gateway.dev/v1/onchain/base/gas

CategoryMarket data
Provider host1gateway.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {},
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {},
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "baseFeeGwei": {
              "type": "number"
            },
            "block": {
              "properties": {
                "gasUsedPct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "number": {
                  "type": "integer"
                },
                "timestamp": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": "object"
            },
            "chain": {
              "type": "string"
            },
            "chainId": {
              "type": "integer"
            },
            "costs": {
              "items": {
                "properties": {
                  "action": {
                    "type": "string"
                  },
                  "l1DataFeeEth": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "l2FeeEth": {
                    "type": "number"
                  },
                  "label": {
                    "type": "string"
                  },
                  "totalEth": {
                    "type": "number"
                  },
                  "totalUsd": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "typicalGas": {
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "ethUsd": {
              "type": [
                "number",
                "null"
              ]
            },
            "nextBaseFeeGwei": {
              "type": "number"
            },
            "note": {
              "type": "string"
            },
            "priorityFeeGwei": {
              "properties": {
                "fast": {
                  "type": "number"
                },
                "node": {
                  "type": "number"
                },
                "slow": {
                  "type": "number"
                },
                "standard": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "recentBlocks": {
              "properties": {
                "avgGasUsedPct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "count": {
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "rpc": {
              "properties": {
                "kind": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "suggested": {
              "properties": {
                "fast": {
                  "properties": {
                    "maxFeePerGasGwei": {
                      "type": "number"
                    },
                    "maxPriorityFeePerGasGwei": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "slow": {
                  "properties": {
                    "maxFeePerGasGwei": {
                      "type": "number"
                    },
                    "maxPriorityFeePerGasGwei": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                },
                "standard": {
                  "properties": {
                    "maxFeePerGasGwei": {
                      "type": "number"
                    },
                    "maxPriorityFeePerGasGwei": {
                      "type": "number"
                    }
                  },
                  "type": "object"
                }
              },
              "type": "object"
            }
          },
          "required": [
            "chain",
            "chainId",
            "block",
            "baseFeeGwei",
            "nextBaseFeeGwei",
            "priorityFeeGwei",
            "suggested",
            "recentBlocks",
            "ethUsd",
            "costs",
            "rpc",
            "note"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON