Skip to content

Commit

Permalink
Merge branch 'main' into readme-update
Browse files Browse the repository at this point in the history
  • Loading branch information
jlwllmr authored Oct 16, 2024
2 parents 7ecec5a + 6b0a778 commit 5f2bd45
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/developers/reference/api/linea-estimategas.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down Expand Up @@ -82,7 +80,7 @@ You can also call the API using [Infura's supported Linea endpoints](https://doc
```

</TabItem>
<TabItem value="ethers.js">
{/* <TabItem value="ethers.js">
```javascript
type LineaEstimateGasResponse = {
baseFeePerGas: string;
Expand All @@ -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);
```
</TabItem>
</TabItem> */}
<TabItem value="viem">
```javascript
import { createPublicClient, http, parseEther } from 'viem'
Expand Down

0 comments on commit 5f2bd45

Please sign in to comment.