Ethereum Protocol Fellowship (EPF) Cohort 7 — Applications open until May 13
All EIPs
EIP-7843 Draft EL

SLOTNUM opcode

Authors:

Canonical data: /latest/eips/7843.json

Opcode to get the current slot number

Timeline

Glamsterdam
Marc Harvey-Hill
Scheduled for Inclusion
May 7, 2026 · ACDE #236
Considered for Inclusion
Dec 4, 2025 · ACDE #225
Proposed
Declined
EIP Created Dec 6, 2024

Key Benefits

  • Removes hardcoded slot assumptions; apps remain correct if slot duration changes.
  • Cheaper than proving slot via EIP-4788; simple 2-gas opcode call.
  • Slot number available directly in block header and engine API.
  • No added proving complexity; similar to TIMESTAMP for ZK-VMs.

Trade-offs & Considerations

No trade-offs documented yet.

Stakeholder Impact

End Users

Indirectly benefits from more reliable app timing if slot duration changes in future networks.

Application Developers

Simplifies reading beacon time onchain, avoiding timestamp math and EIP-4788 proofs; fewer assumptions about the slot schedule.

Wallet Developers

Little to no impact; wallets typically don't consume slot numbers. Optional UI or simulation support could display it.

Tooling / Infrastructure

Block explorers, RPC simulators, and debuggers may add opcode support and parse the new header slot_number field.

Layer 2s

Optional support; helpful if mirroring L1 semantics. Not required unless chains want SLOTNUM compatibility and header field parity.

Stakers & Node Operators

No operational changes expected; clients handle computation and propagation. Node operators shouldn't need configuration or workflow updates.

CL Client Developers

Must compute slot_number and include it in headers and engine API payloads; aligns with existing consensus-layer slot calculations.

EL Client Developers

Implement new opcode, validate header field, expose via RPC, and price gas; updates required across execution clients.

North Star Goal Alignment

  • Improve UX: Enables more reliable time-based smart contracts and better coordination between consensus and execution layers.