Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions content/defender/module/relayers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ If speed is provided, the transaction would be priced according to the `EIP1559P
Mainnet gas prices and priority fees are calculated based on the values reported by [EthGasStation](https://ethgasstation.info/), [EtherChain](https://etherchain.org/tools/gasPriceOracle), [GasNow](https://www.gasnow.org/), [Blockative](https://docs.blocknative.com/gas-platform), and [Etherscan](https://etherscan.io/gastracker). In Polygon and its testnet, the [gas station](https://gasstation-mainnet.matic.network/v2) is used. In other networks, gas prices are obtained from a call to `eth_gasPrice` or `eth_feeHistory` to the network.
</Callout>

<Callout type="info">
For a live comparison of gas oracle accuracy across providers, see the [OpenChainBench gas estimation benchmark](https://openchainbench.com/benchmarks/gas-estimation), which continuously measures the gap between each oracle's estimate and the realized priority fee.
</Callout>

### Fixed Gas Pricing

Alternatively, you may specify a ***fixed gasPrice*** or a ***fixed combination of maxFeePerGas and maxPriorityFeePerGas*** for a transaction, by setting either the `gasPrice` parameter or `maxFeePerGas` and `maxPriorityFeePerGas` parameters. Transactions with a fixed pricing are either mined with the specified pricing or replaced with a NOOP transaction if they couldn’t be mined before [validUntil](#valid-until) time.
Expand Down