diff --git a/404.html b/404.html index 4e2d07b28..570bf4a38 100644 --- a/404.html +++ b/404.html @@ -5,7 +5,7 @@
The actual amount of this fee depends on the following input values:
l1_data_fee = tx_compressed_size * weighted_gas_price
Where the tx_compressed_size
is calculated like this:
tx_compressed_size = [(count_zero_bytes(tx_data)*4 + count_non_zero_bytes(tx_data)*16)] / 16
tx_data
is the byte representation of the serialized transaction.
tx_compressed_size
is an estimation of the size that a transaction will occupy in blobs.
The divisor of 16 represents the storage savings of using blobs vs calldata.
The "L1 Gas used by txn" field of transaction details in Blockscout contains the tx_compressed_size
multiplied by 16 (i.e., the calldata
size).
Next, the two scalars are applied to the base fee and blob base fee parameters to compute a weighted gas price multiplier.
weighted_gas_price = 16*base_fee_scalar*base_fee + blob_base_fee_scalar*blob_base_fee
The default values for the scalars are:
+The current values for the scalars are:
base_fee_scalar
= 0.786381blob_base_fee_scalar
= 0.01734