Single-fact: what does Ethereum mainnet gas cost RIGHT NOW
Single-fact: what does Ethereum mainnet gas cost RIGHT NOW? Returns the latest block’s base fee + blob base fee AND the consensus-computed next-block projection (not a guess — the protocol’s own EIP-1559/4844 arithmetic), straight from eth_feeHistory. Fields:…
by api.seneschal.space · discovered, not yet claimed by its owner · updated 2026-09-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Single-fact: what does Ethereum mainnet gas cost RIGHT NOW? Returns the latest block’s base fee + blob base fee AND the consensus-computed next-block projection (not a guess — the protocol’s own EIP-1559/4844 arithmetic), straight from eth_feeHistory. Fields: {block, base_fee_gwei, blob_base_fee_gwei, gas_used_ratio, next_base_fee_gwei, next_blob_base_fee_gwei}. Bulk per-block history: /v1/premium/fee-history.csv ($0.05, up to 1024 blocks/call).
Tags: bazaar
Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/5089.jsonfor the price and payment options. - Pay. Call
GET https://api.seneschal.space/v1/q/base-fee. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.001 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Uptime
- 1 of the last 1 checks answered
- Calls (30d)
- 4 · 3 unique payers (third-party data from the public x402 Bazaar)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.001 | 0x46Ba634261566CF242c853d1f49511f9268ba674 | 120s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x46Ba634261566CF242c853d1f49511f9268ba674",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"amountUsd": 0.001,
"maxTimeoutSeconds": 120
}
]Schemas
Output schema (JSON Schema)
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"as_of_ms": 1765532000000,
"base_fee_gwei": 0.74721396,
"base_fee_wei": "747213960",
"blob_base_fee_gwei": 1e-9,
"blob_base_fee_wei": "1",
"blob_gas_used_ratio": 0.25,
"block": 23012001,
"gas_used_ratio": 0.4993,
"next_base_fee_gwei": 0.747189,
"next_blob_base_fee_gwei": 1e-9,
"next_block": 23012002
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"as_of_ms": {
"type": "integer"
},
"base_fee_gwei": {
"type": "number"
},
"base_fee_wei": {
"type": "string"
},
"blob_base_fee_gwei": {
"type": "number"
},
"blob_base_fee_wei": {
"type": "string"
},
"blob_gas_used_ratio": {
"type": "number"
},
"block": {
"type": "integer"
},
"gas_used_ratio": {
"type": "number"
},
"next_base_fee_gwei": {
"type": "number"
},
"next_blob_base_fee_gwei": {
"type": "number"
},
"next_block": {
"type": "integer"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Example shape — generated from the schema, not a captured live response
nullExamples
curl "https://api.seneschal.space/v1/q/base-fee"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.seneschal.space/v1/q/base-fee");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.seneschal.space/v1/q/base-fee")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.seneschal.space
- Endpoint
- https://api.seneschal.space/v1/q/base-fee
- Machine-readable
/resources/5089.json