Node reference
Ethereum block number
Read the latest block number
Explore Ethereum automation and workflows.
Ethereum block number reads the latest block height from the selected network. Use it to check the RPC connection or record when a read occurred.
Try it step by step
- Choose Cloud RPC and turn the network switch off for Devnet (Sepolia), or on for Mainnet.
- Connect Start → Ethereum block number and run once.
- Inspect blockNumber and network. Run again later to observe how the height changes.
What to expect
The result includes blockNumber as a decimal string and the selected network. It does not include the block’s transactions or timestamp.
Things to check
- An unchanged height across quick runs is possible; a new block may not have arrived yet.
- The node checks the RPC chain ID against the selected network. Correct the RPC settings if they disagree.
Keep learning
Network setup: This node uses ethereum. See connections for RPC setup and Test mode for network selection.
Parameters
| Setting | Default | What it does |
|---|---|---|
| On failure | stop | Choose whether a failed execution stops the workflow or only ends this path. |
| Retry attempts | 0 | How many additional attempts to make after the first failure. |
| Node name | (empty) | Custom display name. References and connections keep their existing identifiers. |
On failure: Choices: Stop workflow (stop), Continue (continue). Available under More options.
Retry attempts: Available under More options. Limits: minimum 0.
Node name: Double-brace expressions are not resolved in this field.
Inputs
| Port | Value |
|---|---|
in | any |
Outputs
| Port | Value |
|---|---|
out | object |
out fields
| Field | Type |
|---|---|
blockNumber | string |
network | string |