You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/builders/app-developers/tutorials/sdk-estimate-costs.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ You're now going to estimate the cost of a transaction on OP Mainnet.
164
164
165
165
{<h3>Estimate the L1 data fee</h3>}
166
166
167
-
You can estimate the L1 data fee with the [estimateL1GasCost](https://viem.sh/op-stack/actions/estimateL1Gas) function.
167
+
You can estimate the L1 data fee with the [estimateL1GasCost on the Gas Price Oracle predeploy contract](https://viem.sh/op-stack/actions/estimateL1Gas) function.
168
168
Under the hood, this function is estimating the amount of Ethereum gas required to publish this transaction on Ethereum and multiplying it by the current Ethereum gas price (as tracked by the L2).
169
169
This function returns the current cost estimate in wei.
0 commit comments