Skip to main content

PayloadAttributesPrague

Type Alias PayloadAttributesPrague 

Source
pub type PayloadAttributesPrague = PayloadAttributesCancun;
Available on crate features node-api and node only.
Expand description

Prague uses the Cancun payload-attributes schema.

Aliased Type§

pub struct PayloadAttributesPrague {
    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: u64

Payload timestamp.

§prev_randao: FixedBytes<32>

Previous RANDAO value.

§suggested_fee_recipient: Address

Suggested 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