pub type PayloadAttributesOsaka = PayloadAttributesCancun;Available on crate features
node-api and node only.Expand description
Osaka uses the Cancun payload-attributes schema.
Aliased Type§
pub struct PayloadAttributesOsaka {
pub timestamp: u64,
pub prev_randao: FixedBytes<32>,
pub suggested_fee_recipient: Address,
pub withdrawals: Vec<Withdrawal>,
pub parent_beacon_block_root: FixedBytes<32>,
}Fields§
§timestamp: u64Payload timestamp.
prev_randao: FixedBytes<32>Previous RANDAO value.
suggested_fee_recipient: AddressSuggested fee recipient.
withdrawals: Vec<Withdrawal>Withdrawals to include in the payload.
parent_beacon_block_root: FixedBytes<32>Root of the parent beacon block.
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 120 bytes