pub trait BuiltPayload<N: NodePrimitives = EthPrimitives>:
Send
+ Sync
+ Debug {
// Required methods
fn block(&self) -> &SealedBlock<N::BlockHeader, N::BlockBody>;
fn fees(&self) -> U256;
fn requests(&self) -> Option<Requests>;
// Provided method
fn executed_block(&self) -> Option<ExecutedBlock<N>> { ... }
}
Expand description
Represents a built payload type that contains a built [SealedBlock
] and can be converted into
engine API execution payloads.
Required Methods§
Provided Methods§
Sourcefn executed_block(&self) -> Option<ExecutedBlock<N>>
fn executed_block(&self) -> Option<ExecutedBlock<N>>
Returns the entire execution data for the built block, if available.