Skip to content
Eden Engine

Event Logs of One Block on an EVM Chain

evmrpc/logs

The event logs emitted in ONE block, chosen by block hash, optionally only those of one contract address and matching the first topics (topic 0 is the event signature hash). Up to 200 logs are returned, with the total count. One block at a time on purpose: public nodes disagree wildly on how wide a block range they will serve. 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/logs" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "evmrpc/logs", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "evmrpc/logs", 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_hash"
  ],
  "properties": {
    "chain": {
      "enum": [
        "ethereum",
        "optimism",
        "cronos",
        "xdc-network",
        "xdc-apothem-network",
        "bsc",
        "gochain",
        "fuse",
        "unichain",
        "polygon",
        "defi-oracle-meta",
        "sonic",
        "manta-pacific",
        "eni",
        "x-layer",
        "opbnb",
        "lens",
        "energy-web-chain",
        "fantom-opera",
        "fraxtal",
        "hedera",
        "filecoin",
        "zksync",
        "pulsechain",
        "camino-c-chain",
        "btb-chain",
        "ladychain",
        "endurance-smart-chain",
        "marschain",
        "advance-blockchain",
        "stable",
        "hyperevm",
        "mai-chain",
        "opengpu",
        "metis-andromeda",
        "grx",
        "core-blockchain",
        "ultron",
        "miracle-chain",
        "aia",
        "data-network",
        "mawari",
        "reactive",
        "reya-network",
        "playblock",
        "soneium",
        "krown",
        "ronin",
        "kava",
        "kiteai",
        "abstract",
        "xo-market",
        "irys-beta",
        "jfin-chain",
        "trustgreen-chain",
        "aifinance-smart-chain",
        "rise",
        "sx-network",
        "merlin",
        "tempo",
        "megaeth",
        "memecore",
        "gtbs-chain",
        "robinhood-chain",
        "mantle",
        "arc",
        "netsbo",
        "scdo-shard0",
        "tea",
        "mtt-network",
        "shyft",
        "probechain",
        "kaia",
        "base",
        "iota-evm",
        "algen",
        "algen-layer2",
        "lightchainai",
        "z-chain",
        "ozone",
        "polygon-supernet-arianee",
        "poodl",
        "oasis-sapphire",
        "incentiv",
        "fluent",
        "mezo",
        "curtis",
        "apechain",
        "mode",
        "arbitrum",
        "avalanche-c-chain",
        "neo-x",
        "velo-labs",
        "ink",
        "linea",
        "henesys",
        "berachain",
        "blast-81457",
        "qtschain",
        "lumoz-chain",
        "creditcoin",
        "taiko",
        "mud-chain",
        "hpp",
        "fonchain",
        "hydration",
        "datachain-rope",
        "valuechain",
        "scroll",
        "xai",
        "katana",
        "primox-chain",
        "ggchain",
        "onfa-chain",
        "symbiosis",
        "quarkblockchain",
        "vcitychain",
        "base-vibenet",
        "mirasmanda",
        "skale-nebula-hub",
        "skale-calypso-hub",
        "skale-europa-hub",
        "zeniq"
      ],
      "type": "string",
      "description": "chain slug; see evmrpc/chain-info for ids and names"
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^0x[0-9a-fA-F]{64}$"
      },
      "maxItems": 4,
      "description": "Only logs whose first topics equal these, in order: topic 0 is the event signature hash (keccak of Transfer(address,address) is 0xddf252ad...). Leave out for every event. A wildcard position is not supported; filter the result instead."
    },
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Only logs emitted by this contract. Leave out for every contract."
    },
    "block_hash": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{64}$",
      "description": "The 32-byte hash of the block to read logs from: 0x followed by 64 hex digits. Get it from the block tools."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "count",
    "logs",
    "truncated"
  ],
  "properties": {
    "logs": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "data": {
            "type": "string",
            "description": "The log data as hex, cut at 2,048 hex digits (see data_truncated)."
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Topic 0 is the event signature hash; the rest are indexed arguments."
          },
          "address": {
            "type": [
              "string",
              "null"
            ],
            "description": "The contract that emitted the log."
          },
          "removed": {
            "type": "boolean"
          },
          "log_index": {
            "type": [
              "integer",
              "null"
            ]
          },
          "block_number": {
            "type": [
              "integer",
              "null"
            ]
          },
          "data_truncated": {
            "type": "boolean"
          },
          "transaction_hash": {
            "type": [
              "string",
              "null"
            ]
          },
          "transaction_index": {
            "type": [
              "integer",
              "null"
            ]
          }
        },
        "additionalProperties": false
      },
      "description": "The first 200 logs."
    },
    "count": {
      "type": "integer",
      "description": "How many logs the block had for this filter."
    },
    "truncated": {
      "type": "boolean",
      "description": "True when count is above 200."
    }
  },
  "description": "The matching logs of one block.",
  "additionalProperties": false
}