From 6b0a77867a1a74211b3ee8db64051c1dadc13013 Mon Sep 17 00:00:00 2001 From: Joel Willmore <95916148+jlwllmr@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:27:00 +0100 Subject: [PATCH] Remove `linea_estimateGas` ethers example (#787) * Comment out ethers example * Adjust callout --- docs/developers/reference/api/linea-estimategas.mdx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/developers/reference/api/linea-estimategas.mdx b/docs/developers/reference/api/linea-estimategas.mdx index 4fd938cba..459c86e77 100644 --- a/docs/developers/reference/api/linea-estimategas.mdx +++ b/docs/developers/reference/api/linea-estimategas.mdx @@ -11,8 +11,6 @@ import TabItem from '@theme/TabItem'; :::info Compatibility mode -`linea_estimateGas` is available on Linea Mainnet and Sepolia. - If you're an infrastructure provider you must deactivate compatibility mode in your node configurations to ensure `linea_estimateGas` functions fully. See our [guide](#compatibility-mode). @@ -82,7 +80,7 @@ You can also call the API using [Infura's supported Linea endpoints](https://doc ``` - + {/* ```javascript type LineaEstimateGasResponse = { baseFeePerGas: string; @@ -102,7 +100,7 @@ You can also call the API using [Infura's supported Linea endpoints](https://doc const fees: LineaEstimateGasResponse = await provider.send("linea_estimateGas", [params]); console.log(fees); ``` - + */} ```javascript import { createPublicClient, http, parseEther } from 'viem'