teckel Ethereum icon

teckel Ethereum

Query the Ethereum blockchain via the teckel platform

Chain ID

AI-generated

Summary

Retrieves the network identifier for a configured Ethereum chain to determine replay protection compatibility.

Inputs

  • network (required) — Select the target network (mainnet or Sepolia).

Output shape

a single record containing the chain ID (hexadecimal string) for the selected network.

The chain ID is returned as a hexadecimal string, e.g., '0x1' for Mainnet.

Examples

Example 1: Determine the Chain ID for the Ethereum Mainnet

Set Network to 'mainnet' and execute the node.

Example 2: Determine the Chain ID for the Sepolia testnet

Set Network to 'sepolia' and execute the node.

Links

Discussion