Skip to content
Eden Engine

Block by Number on an EVM Chain

evmrpc/block

One block of an EVM chain by number: hash, parent, timestamp, gas used and limit, base fee in wei, miner or sequencer, and up to 100 transaction hashes (with the total count). Only nodes measured to serve old blocks are asked; a block they do not have, or one past the head, is found false. Read from public nodes that offer no SLA and can be slow, throttled or a block behind; a failing node is replaced by another operator's automatically. Served by Eden Engine; not an official product of any chain or node operator.

activeper callv2

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Public blockchains

On-chain data read from public blockchain nodes; no licence or credit is required. Served by Eden Engine; not an official product of any chain or node operator.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "evmrpc/block" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "evmrpc/block" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "evmrpc/block", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "evmrpc/block", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 28, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "chain",
    "block_number"
  ],
  "properties": {
    "chain": {
      "enum": [
        "ethereum",
        "c8ntinuum",
        "quai",
        "optimism",
        "thaichain-2-0-thaifi",
        "elastos-smart-chain",
        "cronos",
        "rootstock",
        "u2u-solaris",
        "telos-evm",
        "lukso",
        "xdc-network",
        "xdc-apothem-network",
        "bsc",
        "gochain",
        "decimal-smart-chain",
        "unichain",
        "polygon",
        "defi-oracle-meta",
        "monad",
        "sonic",
        "manta-pacific",
        "eni",
        "abey",
        "x-layer",
        "bittorrent-chain",
        "opbnb",
        "vinuchain",
        "opn-chain",
        "b2",
        "prom",
        "lens",
        "energy-web-chain",
        "fantom-opera",
        "fraxtal",
        "boba-network",
        "hedera",
        "filecoin",
        "kcc",
        "zksync",
        "theta",
        "dancore",
        "pulsechain",
        "nutriemp-chain",
        "areum",
        "camino-c-chain",
        "btb-chain",
        "river",
        "rollux",
        "ladychain",
        "endurance-smart-chain",
        "matchain",
        "eden",
        "bitasset-chain",
        "marschain",
        "advance-blockchain",
        "stable",
        "hyperevm",
        "mai-chain",
        "opengpu",
        "anannta",
        "metis-andromeda",
        "grx",
        "intuition",
        "ultron",
        "miracle-chain",
        "aia",
        "mawari",
        "reactive",
        "nero",
        "ethpar",
        "reya-network",
        "metal-l2",
        "kiichain",
        "playblock",
        "soneium",
        "krown",
        "ronin",
        "phala-network",
        "cratd2c",
        "silicon-zkevm",
        "kiteai",
        "cchain",
        "abstract",
        "morph",
        "alpha-chain",
        "xo-market",
        "irys-beta",
        "jfin-chain",
        "trustgreen-chain",
        "aifinance-smart-chain",
        "rise",
        "sx-network",
        "merlin",
        "layer-edge",
        "tempo",
        "megaeth",
        "memecore",
        "hydra-chain",
        "gtbs-chain",
        "very",
        "robinhood-chain",
        "iotex-network",
        "mantle",
        "arc",
        "humanode",
        "netsbo",
        "treasurenet-aurora",
        "scdo-shard0",
        "mantra-chain",
        "tea",
        "lorachain",
        "mtt-network",
        "shyft",
        "crymad-chain-l2-network",
        "cyber",
        "ttl-coin",
        "probechain",
        "kaia",
        "base",
        "iota-evm",
        "unique",
        "algen",
        "algen-layer2",
        "lightchainai",
        "z-chain",
        "larissa-chain",
        "ozone",
        "haqq-network",
        "geb",
        "polygon-supernet-arianee",
        "poodl",
        "apchain",
        "oasis-sapphire",
        "incentiv",
        "mintme-com-coin",
        "fluent",
        "ducatusx",
        "horizen",
        "ethiq",
        "mezo",
        "curtis",
        "apechain",
        "mode",
        "zeus",
        "q",
        "energi",
        "arbitrum",
        "asset-chain",
        "neo-x",
        "zircuit",
        "electroneum",
        "velo-labs",
        "ink",
        "linea",
        "bob",
        "multivac",
        "henesys",
        "icb-network",
        "geek-verse",
        "berachain",
        "codex",
        "blast-81457",
        "proptech",
        "unit-zero",
        "qtschain",
        "lumoz-chain",
        "sidra-chain",
        "doma",
        "plume",
        "nillion-network",
        "vechain",
        "global-trust-network",
        "creditcoin",
        "xertra",
        "taiko",
        "mud-chain",
        "transparency-solution",
        "hpp",
        "r0ar-chain",
        "fonchain",
        "kasplex-zkevm",
        "hydration",
        "hipercapital-finance-chain",
        "datachain-rope",
        "valuechain",
        "waba-chain",
        "lavita",
        "infinite-drive",
        "scroll",
        "bear-network-chain",
        "xai",
        "cx-chain",
        "katana",
        "primox-chain",
        "xrpl-evm",
        "bana",
        "ggchain",
        "coti",
        "windpay",
        "onfa-chain",
        "symbiosis",
        "quarkblockchain",
        "dbk-chain",
        "xphere",
        "vcitychain",
        "unipoly-chain",
        "sx-toronto-network",
        "base-vibenet",
        "polkadot",
        "westend-asset-hub",
        "lumia",
        "mirasmanda",
        "aurora",
        "skale-nebula-hub",
        "skale-calypso-hub",
        "skale-europa-hub",
        "zeniq"
      ],
      "type": "string",
      "description": "chain slug; see evmrpc/chain-info for ids and names"
    },
    "block_number": {
      "type": "string",
      "pattern": "^0x(0|[1-9a-f][0-9a-f]{0,14})$",
      "description": "The block number as a lowercase hex quantity with no leading zeros, as nodes write it: 0x1312d00 is block 20,000,000."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "found"
  ],
  "properties": {
    "hash": {
      "type": [
        "string",
        "null"
      ],
      "description": "The block hash."
    },
    "found": {
      "type": "boolean",
      "description": "False when the node has no such item (an unknown or not-yet-mined hash, a block past the head); then no other field is present."
    },
    "miner": {
      "type": [
        "string",
        "null"
      ],
      "description": "The address that received the block reward or fees (the validator or sequencer)."
    },
    "number": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The block number."
    },
    "gas_used": {
      "type": [
        "integer",
        "null"
      ]
    },
    "gas_limit": {
      "type": [
        "integer",
        "null"
      ]
    },
    "timestamp": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Unix time in seconds."
    },
    "size_bytes": {
      "type": [
        "integer",
        "null"
      ]
    },
    "parent_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "transactions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Transaction hashes, the first 100 only (see transactions_truncated)."
    },
    "timestamp_iso": {
      "type": [
        "string",
        "null"
      ],
      "description": "The timestamp as an ISO 8601 UTC time."
    },
    "transaction_count": {
      "type": "integer",
      "description": "How many transactions the block holds."
    },
    "base_fee_per_gas_wei": {
      "type": [
        "string",
        "null"
      ],
      "description": "Base fee per gas in wei, an exact decimal string; null on a chain without one."
    },
    "transactions_truncated": {
      "type": "boolean",
      "description": "True when the block holds more than 100 transactions."
    }
  },
  "description": "One block summary, or found false if the node has no such block.",
  "additionalProperties": false
}