---
title: "alloy/consensus"
description: "Base alloy consensus types — transactions, receipts with Base-specific fields."
source: https://basehub.org/crates/alloy/consensus/
---
import { LinkCard } from '@astrojs/starlight/components';

## Overview

The `base-alloy-consensus` crate defines Base consensus types, including custom transaction and receipt types. It extends the standard Alloy consensus types for the OP Stack L2 environment.

## Key Dependencies

- `alloy-consensus` — Upstream consensus types
- `op-alloy-consensus` — OP Stack consensus types

## Source

<LinkCard title="View source on GitHub" href="https://github.com/base/base/tree/main/crates/alloy/consensus" />
