op_alloy::consensus

Function decode_holocene_extra_data

Source
pub fn decode_holocene_extra_data(
    extra_data: &[u8],
) -> Result<(u32, u32), EIP1559ParamError>
Available on crate feature consensus only.
Expand description

Decodes the eip1559 parameters from the extradata bytes.

Returns (elasticity, denominator)