From 772a8e0632cf4991e472c12728fdaae06d5f9bbb Mon Sep 17 00:00:00 2001 From: Joel Willmore <95916148+jlwllmr@users.noreply.github.com> Date: Thu, 12 Sep 2024 13:59:16 +0100 Subject: [PATCH] Amend `linea_estimateGas` reference (#734) * Remove warning callout about availability * Mention new node running guides --- .../reference/api/linea-estimategas.mdx | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/docs/developers/reference/api/linea-estimategas.mdx b/docs/developers/reference/api/linea-estimategas.mdx index 0887def84..efcc95d62 100644 --- a/docs/developers/reference/api/linea-estimategas.mdx +++ b/docs/developers/reference/api/linea-estimategas.mdx @@ -9,19 +9,13 @@ import TabItem from '@theme/TabItem'; # `linea_estimateGas` -:::warning - -`linea_estimateGas` is currently unavailable, but we will provide activation dates soon. In the -meantime, please get in touch via the [Linea Discord](https://discord.gg/linea) if you intend to -use `linea_estimateGas` once it is available. - -::: - :::info `linea_estimateGas` is only fully compatible with endpoints using the Besu client with the -[`linea-sequencer`](https://github.com/Consensys/linea-sequencer/tree/main) plugin enabled. If it -is unavailable, try updating Besu. If you prefer to use Geth, `linea_estimateGas` is only available +[`linea-sequencer`](https://github.com/Consensys/linea-sequencer/tree/main) plugin enabled. See our +[node running guides](../../guides/run-a-node/index.mdx) to set one up. + +If you prefer to use Geth, `linea_estimateGas` is only available if you redirect your request through an Infura endpoint. We recommend using `linea_estimateGas` rather than alternatives, such as `eth_gasPrice`. @@ -33,8 +27,8 @@ being priced incorrectly and failing as a result. Generates and returns an estimate of how much gas is necessary to allow the transaction to complete and be published on Ethereum. The transaction will not be added to the blockchain. -For more information about estimating gas, and how this API formulates the transaction costs, see -the [Estimate transaction costs](../../guides/gas/gas-fees.mdx) topic. +[See more information](../../guides/gas/gas-fees.mdx) about estimating gas, and how this API +formulates the transaction costs. The `priorityFeePerGas` returned by this method includes the cost of submitting the transaction to Ethereum, which can vary based on the size of the calldata.