Skip to main content

Overview

PolyNode’s Gas Oracle scans every block on Polygon to determine the exact gas price needed to achieve top-of-block positioning. Unlike standard eth_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

Per-Block Data

The recent_blocks array provides gas data for each scanned block:

Usage

Use the gas oracle to set your transaction’s gas price for optimal block positioning:

Refresh Rate

The gas oracle updates every 30 seconds, scanning the most recent 20 blocks. Data reflects real-time market conditions on Polygon.