Skip to main content

blob_gas_used

Function blob_gas_used 

Source
pub(crate) fn blob_gas_used<DB: Database>(
    db: &mut DB,
    tx: &FoundryTxEnvelope,
    jovian: bool,
) -> Result<u64, BlockExecutionError>
Available on crate feature optimism only.
Expand description

Returns the blob gas accounted for by an OP transaction under the active hardfork.