pub fn calculate_tx_l1_cost_bedrock(
input: &[u8],
l1_fee_overhead: Uint<256, 4>,
base_fee: Uint<256, 4>,
l1_fee_scalar: Uint<256, 4>,
) -> Uint<256, 4>
Available on crate feature
protocol
only.Expand description
Calculate the gas cost of a transaction based on L1 block data posted on L2 post-bedrock.