eth_feeHistory and computes the 10th, 25th, and 50th percentiles of priority fees across the last 15 blocks. These become the safeLow, standard, and fast predictions.
On Polygon PoS mainnet, a minimum priority fee of 25 gWei is required.
Query gas price recommendations
Send aGET request to the endpoint for your target network.
Testnet endpoints
- Amoy testnet:
https://gasstation.polygon.technology/amoy - zkEVM Cardona:
https://gasstation.polygon.technology/zkevm/cardona
Mainnet endpoints
- PoS mainnet:
https://gasstation.polygon.technology/v2 - zkEVM mainnet:
https://gasstation.polygon.technology/zkevm
Response format
Example response:| Field | Description |
|---|---|
safeLow | Conservative fee estimate (GWei). Use for non-urgent transactions. |
standard | Moderate fee estimate (GWei). Suitable for most transactions. |
fast | Higher fee estimate (GWei). Use when faster inclusion is needed. |
estimatedBaseFee | Current base fee in GWei. |
blockNumber | The latest block mined when the recommendation was made. |
blockTime | Average block time in seconds for the network. |