Average Gas Price

The chart represents the average gas price in Native Token over time for last 90 days.

Average Gas Price

This API Endpoint fetches the average gas price for transactions conducted within a specified date range on a given network. It requires two parameters. The "dates" parameter is a date-range type that dictates the start and end dates for the query. The second parameter, "network," is a text type that specifies the network from which the data is fetched. The query returns the date along with the average gas price for each day in the specified range, in terms of Gwei (10^9 Wei). It uses Unix timestamps to ensure accurate date-time representation. The data is primarily visualized through a chart which aids in comprehending fluctuations in average gas prices over time.