Documentation Index
Fetch the complete documentation index at: https://polynode.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
PolyNode’s Gas Oracle scans every block on Polygon to determine the exact gas price needed to achieve top-of-block positioning. Unlike standardeth_gasPrice which returns a network average, our oracle tells you what the competitive floor is — what the top-of-block bots are actually paying.
Endpoint
Response
Fields
| Field | Description |
|---|---|
recommended_gas_wei | Gas price in wei to beat current top-of-block competition |
recommended_gas_gwei | Same value in gwei for readability |
avg_top_gas_gwei | Average highest gas price across scanned blocks |
max_top_gas_gwei | Maximum top-of-block gas price observed |
blocks_scanned | Number of recent blocks analyzed |
safety_multiplier | Multiplier applied above max observed (default 1.1x) |
base_gas_gwei | Current network base gas price |
effective_multiplier | How many times above base gas the recommendation is |
Per-Block Data
Therecent_blocks array provides gas data for each scanned block:
| Field | Description |
|---|---|
top_gas_gwei | Highest gas price in the block (TX #1) |
second_gas_gwei | Second highest gas price |
median_gas_gwei | Median gas price across all transactions |
tx_count | Total transactions in the block |

