Skip to main content

Module block

Module block 

Source

Structs§

BlockInfo
Container type that gathers all block data, generic over a [Network].

Traits§

EncodableBlockTransaction
A transaction that can be encoded for inclusion in a block body.

Functions§

canonical_block
Returns a block whose transactions use canonical block-body representations.
canonical_block_transaction
Drops pooled sidecars so a transaction uses its canonical block-body representation.
create_block
Helper function to create a new block with Header and Anvil transactions, generic over the transaction envelope with a default of [FoundryTxEnvelope].

Type Aliases§

Block
Type alias for a block containing potentially impersonated transactions.