Function payload_id_optimism
pub fn payload_id_optimism(
parent: &FixedBytes<32>,
attributes: &OpPayloadAttributes,
payload_version: u8,
) -> PayloadId
Available on crate features
node-api
and node
only.Expand description
Generates the payload id for the configured payload from the OpPayloadAttributes
.
Returns an 8-byte identifier by hashing the payload components with sha256 hash.