Skip to content

Commit 8717b9c

Browse files
krofaxZakAyesh
andauthored
Update pages/builders/app-developers/tutorials/sdk-estimate-costs.mdx
Co-authored-by: Zak Ayesh <[email protected]>
1 parent ba9ec29 commit 8717b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/builders/app-developers/tutorials/sdk-estimate-costs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ You're now going to estimate the cost of a transaction on OP Mainnet.
164164

165165
{<h3>Estimate the L1 data fee</h3>}
166166

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.
168168
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).
169169
This function returns the current cost estimate in wei.
170170

0 commit comments

Comments
 (0)