Trait BuiltPayload
pub trait BuiltPayload:
Send
+ Sync
+ Debug {
type Primitives: NodePrimitives;
// Required methods
fn block(&self) -> &SealedBlock<<Self::Primitives as NodePrimitives>::Block>;
fn fees(&self) -> Uint<256, 4>;
fn requests(&self) -> Option<Requests>;
// Provided method
fn executed_block(
&self,
) -> Option<BuiltPayloadExecutedBlock<Self::Primitives>> { ... }
}Expand description
Represents a successfully built execution payload (block).
Provides access to the underlying block data, execution results, and associated metadata for payloads ready for execution or propagation.
Required Associated Types§
Required Methods§
Sourcefn block(&self) -> &SealedBlock<<Self::Primitives as NodePrimitives>::Block>
fn block(&self) -> &SealedBlock<<Self::Primitives as NodePrimitives>::Block>
Returns the built block in its sealed (hash-verified) form.