Crates.io | alloy-consensus |
lib.rs | alloy-consensus |
version | 1.0.27 |
created_at | 2023-12-18 08:32:46.061697+00 |
updated_at | 2025-08-26 16:29:36.713517+00 |
description | Ethereum consensus interface |
homepage | https://github.com/alloy-rs/alloy |
repository | https://github.com/alloy-rs/alloy |
max_upload_size | |
id | 1073187 |
size | 556,952 |
Ethereum consensus interface.
This crate contains constants, types, and functions for implementing Ethereum EL consensus and communication. This includes headers, blocks, transactions, EIP-2718 envelopes, EIP-2930, EIP-4844, and more.
In general a type belongs in this crate if it is committed to in the EL block header. This includes:
Much of this code was ported from reth-primitives as part of ongoing alloy migrations.