chain_l1_data_fee
$0.09 via x402: the L1 data-availability fee an OP-stack transaction pays ON TOP of L2 execution gas — usually the larger half of the bill, and the half ordinary gas estimators leave out. Answered by the chain's own GasPriceOracle.getL1Fee rather than a reimplemented formula, so it stays correct across Ecotone, Fjord and later forks. Pass data=0x... to price your actual transaction exactly. Base and Optimism only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | 0x calldata of your actual transaction — priced exactly | |
| bytes | No | Transaction size in bytes, 1-200000 (default 1200) | |
| chain | No | base|optimism (OP-stack only) | |
| x_payment | No |