Skip to content
Eden Engine

EVM Chain Identity and Native Token (Chain ID Check)

evmrpc/chain-info

Asks a node of the chain for its EIP-155 chain id and returns it with the chain's slug, name and native token symbol. Also lists every chain served (slug, chain id, name, native symbol): the place to map a chain name or id to the `chain` slug other evmrpc tools take. The answer is cached for a day, so it is not a reachability check. 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 callv1

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 $0.50.

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

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

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

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

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

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "evmrpc/chain-info", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "evmrpc/chain-info", 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 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "chain"
  ],
  "properties": {
    "chain": {
      "enum": [
        "ethereum",
        "base",
        "arbitrum",
        "optimism",
        "bsc"
      ],
      "type": "string",
      "description": "chain slug; see evmrpc/chain-info for ids and names"
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "chain_id",
    "native_decimals",
    "chains",
    "chains_truncated"
  ],
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ],
      "description": "The value to pass as `chain` to every evmrpc tool."
    },
    "chains": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "slug",
          "chain_id",
          "name",
          "native_symbol"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string",
            "description": "The value to pass as `chain`."
          },
          "chain_id": {
            "type": "integer"
          },
          "native_symbol": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "description": "Every chain served, in list order (capped; see chains_truncated)."
    },
    "chain_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The EIP-155 chain id the node answered with."
    },
    "chain_id_hex": {
      "type": [
        "string",
        "null"
      ]
    },
    "native_symbol": {
      "type": [
        "string",
        "null"
      ],
      "description": "The chain's native token."
    },
    "native_decimals": {
      "type": "integer",
      "description": "Decimals of the native token (every chain served has 18)."
    },
    "chains_truncated": {
      "type": "boolean",
      "description": "True when more chains exist than listed."
    }
  },
  "description": "The chain the answering node serves.",
  "additionalProperties": false
}