Trait reth_node_builder::BuiltPayload

source ·
pub trait BuiltPayload: Send + Sync + Debug {
    // Required methods
    fn block(&self) -> &SealedBlock;
    fn fees(&self) -> Uint<256, 4>;
}
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) -> Uint<256, 4>

Returns the fees collected for the built block

Implementations on Foreign Types§

source§

impl BuiltPayload for EthBuiltPayload

source§

fn block(&self) -> &SealedBlock

source§

fn fees(&self) -> Uint<256, 4>

source§

impl<'a> BuiltPayload for &'a EthBuiltPayload

source§

fn block(&self) -> &SealedBlock

source§

fn fees(&self) -> Uint<256, 4>

Implementors§