On-chain Block / Height

Fetch an EVM block (latest or by number). Given a chain and an optional block number returns block number, hash, parent hash, timestamp, transaction count, gas used/limit, base fee and miner. Omit the number for the current block height. For indexers, chain-tip monitoring, finality-tracking and block-explorer agents.

TradingLiveeip155:8453Exactvia cdp
OnchainBlockBlock-heightLatest-blockEthereum
Calls · 30d
3↑ 75%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 30 snapshots so far.
$2.33
Verified settled volume
496 settlements proven x402 by their on-chain EIP-3009 marker.
$0.0010
Listed price
As published in the catalog. Always read the live 402 before paying.
3
Calls · 30d
Upstream's own call count for this endpoint, not ours.
3
Unique payers · 30d
Last called 2026-09-17 04:04Z
Upstream on-chain volume
Reported by the source catalog.
Paid to
0xCe339395d7f2ea5a5009022EF1C392Fb208a989E

The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider

The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change — always read the 402 the endpoint answers with.

{
  "hint": "Use a supported wallet to pay for this resource using one of the supported payment methods returned in the WWW-Authenticate header. See https://mpp.dev/tools/wallet.md",
  "type": "https://paymentauth.org/problems/payment-required",
  "title": "Payment Required",
  "detail": "Payment is required (Fetch an EVM block (latest or by number). Given a chain and an optional block number returns block number, hash, parent hash, timestamp, transaction count, gas used/limit, base fee and miner. Omit the number for the current block height. For indexers, chain-tip monitoring, finality-tracking and block-explorer agents.).",
  "status": 402,
  "challengeId": "BWxUmVyZ89Yr3jUIzLxGgYWa9HqXTXiOhX6cf88Vpbg"
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.

0.001USDC≈ $0.001 USD
on Base · exact scheme

Pay 0.001 USDC on Base to 0xCe33…a989E. The signed payment is good for 5 minutes.

USD Coin contract
0x8335…02913
Payment window
5 minutes
As published
1000 smallest units
The catalog’s raw entry
[
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xCe339395d7f2ea5a5009022EF1C392Fb208a989E",
    "amount": "1000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 300
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "chain": "ethereum"
        },
        "type": "http",
        "method": "POST",
        "bodyType": "json"
      },
      "output": {
        "type": "json",
        "example": {
          "block": {
            "hash": "0xabc...",
            "chain": "ethereum",
            "miner": "0x1111111111111111111111111111111111111111",
            "number": 21000000,
            "gasUsed": "12000000",
            "txCount": 120,
            "gasLimit": "30000000",
            "timestamp": "2026-08-25T12:00:00.000Z",
            "parentHash": "0xdef...",
            "timestampUnix": 1787083200,
            "baseFeePerGasWei": "8000000000"
          },
          "chain": "ethereum",
          "route": "onchain.block",
          "machine": "portfolio"
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "properties": {
            "body": {
              "type": "object",
              "required": [],
              "properties": {
                "block": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Block number; omit for the latest block."
                },
                "chain": {
                  "type": "string",
                  "default": "ethereum",
                  "description": "EVM chain (ethereum, base, arbitrum, optimism, polygon, bsc)."
                }
              }
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {
              "type": "object",
              "required": [
                "machine",
                "route",
                "block"
              ],
              "properties": {
                "block": {
                  "type": "object",
                  "properties": {
                    "hash": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "chain": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "miner": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "number": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "gasUsed": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "txCount": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "gasLimit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "timestamp": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "parentHash": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "timestampUnix": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "baseFeePerGasWei": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                },
                "chain": {
                  "type": "string"
                },
                "route": {
                  "type": "string"
                },
                "machine": {
                  "type": "string"
                },
                "economics": {
                  "type": "object",
                  "properties": {
                    "sellPriceUsd": {
                      "type": "number"
                    },
                    "upstreamCostUsdActual": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-09-17 04:04Z
Last indexed by Roundhouse
2026-09-24 10:40Z
Last enriched (probe, favicon, geo)
2026-09-10 20:45Z
x402 version
2
Max timeout
300s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 30 snapshots so far. Verified volume counts only settlements with an on-chain EIP-3009 marker.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service On-chain Block / Height and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=On-chain%20Block%20%2F%20Height'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/block, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402,
or use an organization key from https://roundhouseai.io/dashboard/team.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.