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<ExecutedBlock<Self::Primitives>> { ... }
}Available on crate feature 
node-api only.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§
Sourcetype Primitives: NodePrimitives
 
type Primitives: NodePrimitives
The node’s primitive 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.
Provided Methods§
Sourcefn executed_block(&self) -> Option<ExecutedBlock<Self::Primitives>>
 
fn executed_block(&self) -> Option<ExecutedBlock<Self::Primitives>>
Returns the complete execution result including state updates.
Returns None if execution data is not available or not tracked.