Module utils
Expand description
Commonly used code snippets
Functionsยง
- binary_
search - Performs a binary search within a given block range to find the desired block number.
- checked_
blob_ gas_ used_ ratio - Calculates the blob gas used ratio for a block, accounting for the case where
max_blob_gas_per_block
is zero. - recover_
raw_ transaction - Recovers a
SignedTransaction
from an enveloped encoded byte stream.