Skip to main content

_ArbGasInfo

MethodSolidity interfaceGo implementationDescription
getPricesInWeiWithAggregator()

Interface

Implementation

GetPricesInWeiWithAggregator gets prices in wei when using the provided aggregator
getPricesInWei()

Interface

Implementation

GetPricesInWei gets prices in wei when using the caller's preferred aggregator
getPricesInArbGasWithAggregator()

Interface

Implementation

GetPricesInArbGasWithAggregator gets prices in ArbGas when using the provided aggregator

getPricesInArbGas()

Interface

Implementation

GetPricesInArbGas gets prices in ArbGas when using the caller's preferred aggregator
getGasAccountingParams()

Interface

Implementation

GetGasAccountingParams gets the Rollup's gas target, pool size, and block gas limit
getMaxTxGasLimit()

Interface

Implementation

GetMaxTxGasLimit gets the max tx gas limit
getMinimumGasPrice()

Interface

Implementation

GetMinimumGasPrice gets the minimum gas price needed for a transaction to succeed
getL1BaseFeeEstimate()

Interface

Implementation

GetL1BaseFeeEstimate gets the current estimate of the L1 basefee
getL1BaseFeeEstimateInertia()

Interface

Implementation

GetL1BaseFeeEstimateInertia gets how slowly ArbOS updates its estimate of the L1 basefee

getL1RewardRate()

Interface

Implementation

GetL1RewardRate gets the L1 pricer reward rate
getL1RewardRecipient()

Interface

Implementation

GetL1RewardRecipient gets the L1 pricer reward recipient
getL1GasPriceEstimate()

Interface

Implementation

GetL1GasPriceEstimate gets the current estimate of the L1 basefee
getCurrentTxL1GasFees()

Interface

Implementation

GetCurrentTxL1GasFees gets the fee in wei paid to the batch poster for posting this tx

getGasBacklog()

Interface

Implementation

GetGasBacklog gets the backlogged amount of gas burnt in excess of the gas target
getPricingInertia()

Interface

Implementation

GetPricingInertia gets how slowly ArbOS updates the L2 basefee in response to backlogged gas

getGasBacklogTolerance()

Interface

Implementation

GetGasBacklogTolerance gets the forgivable amount of backlogged gas ArbOS will ignore when raising the basefee

getL1PricingSurplus()

Interface

Implementation

GetL1PricingSurplus gets the surplus of funds for L1 batch posting payments (may be negative)

getPerBatchGasCharge()

Interface

Implementation

GetPerBatchGasCharge gets the base charge (in L1 gas) attributed to each data batch in the calldata pricer

getAmortizedCostCapBips()

Interface

Implementation

GetAmortizedCostCapBips gets the cost amortization cap in basis points
getL1FeesAvailable()

Interface

Implementation

GetL1FeesAvailable gets the available funds from L1 fees
getL1PricingEquilibrationUnits()

Interface

Implementation

GetL1PricingEquilibrationUnits gets the equilibration units parameter for L1 price adjustment algorithm (Available since ArbOS 20)

getLastL1PricingUpdateTime()

Interface

Implementation

GetLastL1PricingUpdateTime gets the last time the L1 calldata pricer was updated (Available since ArbOS 20)

getL1PricingFundsDueForRewards()

Interface

Implementation

GetL1PricingFundsDueForRewards gets the amount of L1 calldata payments due for rewards (per the L1 reward rate) (Available since ArbOS 20)

getL1PricingUnitsSinceUpdate()

Interface

Implementation

GetL1PricingUnitsSinceUpdate gets the amount of L1 calldata posted since the last update (Available since ArbOS 20)

getLastL1PricingSurplus()

Interface

Implementation

GetLastL1PricingSurplus gets the L1 pricing surplus as of the last update (may be negative) (Available since ArbOS 20)

getMaxBlockGasLimit()

Interface

Implementation

GetMaxBlockGasLimit gets the maximum block gas limit
getGasPricingConstraints()

Interface

Implementation

GetGasPricingConstraints gets the current gas pricing constraints used by the Multi-Constraint Pricer.