GET [\|/\/] https://docs.blocknative.com/gas-prediction/gas-platform
<= async
___
/ (_)
/ /| |
/ / | |
/_/ _/ |
|__/
{
"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
}
}
" return": ( data :
{
"system": "ethereum",
"network": "main",
"unit": "gwei",
"maxPrice": 26,
"currentBlockNumber": 19720652,
"msSinceLastBlock": 9775,
"topNDistribution": {
"distribution": [
[15, 2],
[14.162957017, 1],
[11, 1],
[7, 1],
[5.162957017, 1],
[5, 10],
[4.162957017, 4],
[4, 3],
[3.162957017, 5],
[3, 9],
[2.162957017, 1],
[2, 15],
[1.162957017, 5],
[1, 11],
[0.194403241, 1],
[0.162957017, 5]
],
"n": 128
}
}
)
>
Comentarios
Publicar un comentario