# Functions

Bloom9 returns the bloom filter for the given data.
BloomLookup is a convenience-method to check presence in the bloom filter.
BytesToBloom converts a byte slice to a bloom filter.
No description provided by the author
CopyHeader creates a deep copy of a block header.
CreateBloom creates a bloom filter out of the give Receipts (+Logs).
DeriveSha creates the tree hashes of transactions, receipts, and withdrawals in a block header.
No description provided by the author
EncodeNonce converts the given integer to a block nonce.
FullAccount decodes the data on the 'slim RLP' format and returns the consensus format account.
FullAccountRLP converts data on the 'slim RLP' format into the full RLP-format.
HashDifference returns a new set which is the difference between a and b.
HeaderParentHashFromRLP returns the parentHash of an RLP-encoded header.
No description provided by the author
No description provided by the author
LogsBloom returns the bloom bytes for the given logs.
MakeSigner returns a Signer based on the given chain config and block number.
MustSignNewTx creates a transaction and signs it.
No description provided by the author
No description provided by the author
NewBlock creates a new block.
NewBlockWithHeader creates a block with the given header data.
NewBlockWithWithdrawals creates a new block with withdrawals.
NewCancunSigner returns a signer that accepts - EIP-4844 blob transactions - EIP-1559 dynamic fee transactions - EIP-2930 access list transactions, - EIP-155 replay protected transactions, and - legacy Homestead transactions.
NewContractCreation creates an unsigned legacy transaction.
No description provided by the author
NewEIP2930Signer returns a signer that accepts EIP-2930 access list transactions, EIP-155 replay protected transactions, and legacy Homestead transactions.
NewEmptyStateAccount constructs an empty state account.
NewLondonSigner returns a signer that accepts - EIP-1559 dynamic fee transactions - EIP-2930 access list transactions, - EIP-155 replay protected transactions, and - legacy Homestead transactions.
NewReceipt creates a barebone transaction receipt, copying the init fields.
NewTransaction creates an unsigned legacy transaction.
NewTx creates a new transaction.
Sender returns the address derived from the signature (V, R, S) using secp256k1 elliptic curve and an error if it failed deriving or upon an incorrect signature.
No description provided by the author
SignNewTx creates a transaction and signs it.
SignTx signs the transaction using the given signer and private key.
SlimAccountRLP encodes the state account in 'slim RLP' format.
TrieRootHash returns the hash itself if it's non-empty or the predefined emptyHash one instead.
TxDifference returns a new set which is the difference between a and b.

# Constants

Transaction types.
Transaction types.
Transaction types.
Transaction types.
Transaction types.
Transaction types.
Transaction types.
Transaction types.
Transaction types.
BloomBitLength represents the number of bits used in a header log bloom.
BloomByteLength represents the number of bytes used in a header log bloom.
Transaction types.
Transaction types.
ReceiptStatusFailed is the status code of a transaction if execution failed.
ReceiptStatusSuccessful is the status code of a transaction if execution succeeded.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470.
EmptyReceiptsHash is the known hash of the empty receipt set.
EmptyRootHash is the known root hash of an empty merkle trie.
EmptyTxsHash is the known hash of the empty transaction set.
1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347.
EmptyVerkleHash is the known hash of an empty verkle trie.
EmptyWithdrawalsHash is the known hash of the empty withdrawal set.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AccessListTx is the data of EIP-2930 access list transactions.
AccessTuple is the element type of an access list.
Account represents an Ethereum account and its attached data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BlobTx represents an EIP-4844 transaction.
BlobTxSidecar contains the blobs of a blob transaction.
Block represents an Ethereum block.
Body is a simple (mutable, non-safe) data container for storing and moving a block's data contents (transactions and uncles) together.
DynamicFeeTx represents an EIP-1559 transaction.
EIP155Signer implements Signer using the EIP-155 rules.
FrontierSigner implements Signer interface using the frontier rules.
Header represents a block header in the Ethereum blockchain.
No description provided by the author
HomesteadSigner implements Signer interface using the homestead rules.
LegacyTx is the transaction data of the original Ethereum transactions.
Log represents a contract log event.
Receipt represents the results of a transaction.
SlimAccount is a modified version of an Account, where the root is replaced with a byte slice.
StateAccount is the Ethereum consensus representation of accounts.
Transaction is an Ethereum transaction.
Withdrawal represents a validator withdrawal from the consensus layer.

# Interfaces

DerivableList is the input to DeriveSha.
No description provided by the author
Signer encapsulates transaction signature handling.
TrieHasher is the tool used to calculate the hash of derivable list.
TxData is the underlying data of a transaction.

# Type aliases

AccessList is an EIP-2930 access list.
A BlockNonce is a 64-bit hash which proves (combined with the mix-hash) that a sufficient amount of computation has been carried out on a block.
No description provided by the author
Bloom represents a 2048 bit bloom filter.
GenesisAlloc specifies the initial state of a genesis block.
ReceiptForStorage is a wrapper around a Receipt with RLP serialization that omits the Bloom field and deserialization that re-computes it.
Receipts implements DerivableList for receipts.
Transactions implements DerivableList for transactions.
TxByNonce implements the sort interface to allow sorting a list of transactions by their nonces.
Withdrawals implements DerivableList for withdrawals.