ToolAssay

Current block height and gas price for an EVM chain (base, ethereum, polygon, ar

Current block height and gas price for an EVM chain (base, ethereum, polygon, arbitrum, optimism, bsc), fresh to 3 seconds. For an agent that is about to transact or needs to timestamp something: one call, no account, no key. Returns chainId, blockNumber, gasPriceWei and gwei. Cached 3 s so the tip is real, answered in ~350 ms.

Asked 1.5x its listed price for its own exampleour last check, 2026-11-28
4 of 5checks answered this week
602 msmedian answer time
$0.002listed price per call
$0.003price 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://agent-data.centorprat.workers.dev/chain/block

CategoryMarket data
Provider hostagent-data.centorprat.workers.dev
Networkseip155:137, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days4 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-28 valid payment request 402$0.003 596 ms
2026-11-27 valid payment request 402$0.003 592 ms
2026-11-26 valid payment request 402$0.003 609 ms
2026-11-25 valid payment request 402$0.003 733 ms
2026-11-24 no x402 terms 429 21 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "chain": "base"
  },
  "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",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "chain": {
              "description": "base | ethereum | polygon | arbitrum | optimism | bsc (default base)",
              "type": "string"
            }
          },
          "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"
}

This page as JSON