Trait reth_payload_primitives::BuiltPayload

source ·
pub trait BuiltPayload:
    Send
    + Sync
    + Debug {
    // Required methods
    fn block(&self) -> &SealedBlock;
    fn fees(&self) -> U256;

    // Provided method
    fn executed_block(&self) -> Option<ExecutedBlock> { ... }
}
Expand description

Represents a built payload type that contains a built [SealedBlock] and can be converted into engine API execution payloads.

Required Methods§

source

fn block(&self) -> &SealedBlock

Returns the built block (sealed)

source

fn fees(&self) -> U256

Returns the fees collected for the built block

Provided Methods§

source

fn executed_block(&self) -> Option<ExecutedBlock>

Returns the entire execution data for the built block, if available.

Implementors§