reth::rpc::types

Function calc_excess_blob_gas

pub const fn calc_excess_blob_gas(
    parent_excess_blob_gas: u64,
    parent_blob_gas_used: u64,
) -> u64
Expand description

Calculates the excess_blob_gas from the parent header’s blob_gas_used and excess_blob_gas.

See also the EIP-4844 helpers (calc_excess_blob_gas).