ecrecover

Networks:
Ethereum Mainnet
Time range:
Start 2025-12-29T00:00:00Z
End 2026-02-26T23:59:59Z
precompiles execution ecrecover
Published March 12, 2026

Question

Who are the top consumers of ecrecover on mainnet?

Background

ecrecover (0x01) recovers the signer's public key from an ECDSA signature. Any contract that verifies a signature on-chain calls this. Fixed gas cost of 3,000.

Over the analysis period, ecrecover was called 15.9 million times, consuming 47.6 billion gas (25.2% of all precompile gas). It's the #2 precompile by both call count and gas.

Investigation

Gas distribution

ecrecover has a fixed gas cost, so all calls should use 3,000 gas. The chart confirms whether that holds.

View Query: precompile_ecrecover_gas_dist
Loading...

Top callers

Note: The callers data below covers a smaller window (~6,000 blocks) because the self-join query needed to resolve parent contracts is too expensive to run over the full range. The gas distribution above uses the full 426K-block range.

View Query: precompile_ecrecover_callers
Loading...

Takeaways

  • ecrecover is #2 with 15.9M calls and 47.6B gas over the analysis period
  • Fixed cost of 3,000 gas per call