Gas Distribution API
Analysis of public pending gas price distributions.
Authentication
Rate Limits
API Endpoint
Query Parameters
Name
Type
Description
Headers
Name
Type
Description
{
"system": "ethereum",
"network": "main",
"unit": "gwei",
"maxPrice": Number, // Highest priced transaction eligible for inclusion in next block
"currentBlockNumber": Number, // Block number at moment in time
"msSinceLastBlock": Number, // Milliseconds since last block at time of capture
"topNDistribution": {
"distribution": [ // List of tuples [(price,count), ...], ordered by price
[
Number, // Price in "unit"
Number // Transaction count with this price
],
...,
],
"n": Number // Top N priced pending transactions included in this distribution
}
}{
"msg": "Authorization header must contain a valid apikey"
}Example request
Example Response
Last updated
Was this helpful?