reth::core::rpc::compat::engine::payload

Function block_to_payload_v3

Source
pub fn block_to_payload_v3<T>(
    value: SealedBlock<Header, BlockBody<T>>,
) -> ExecutionPayloadV3
where T: Encodable2718,
Expand description

Converts SealedBlock to ExecutionPayloadV3, and returns the parent beacon block root.