Gas Platform is an industry leading product that leverages real-time mempool data to deliver transaction gasPrice distribution and precisely predict gasPrice required to get into the next block.
Gas Platform provides access to:
Gas prices needed to have X% probability to qualify for inclusion in the next block. Need a high probability of being confirmed at the expense of spending extra gas? Use the 99% probability prediction. Don't mind if the tx takes 2-3 blocks if it saves some gas? Use the 70% probability prediction.
Estimated gas price distribution for the next block. Want a deeper look at live mempool gas statistics? Get a complete breakdown of gas prices in the mempool grouped by gwei.
Each endpoint is limited to being called once per second per paid tier apikeys, or once per 5 seconds for free tier apikeys. When you exceed your rate limit, the following headers will be included in the response:
Retry-After - The time in seconds after which to retry the request
X-RateLimit-Reset - The date after which the rate limit will be reset
X-RateLimit-Reset: Mon May 17 2021 22:27:28 GMT+0000 (Coordinated Universal Time)
Type0 transactions (Pre EIP-1559) should utilize the Price number under each confidence level. Type2 transactions (EIP-1559) should utilize the values for maxPriorityFeePerGas (also known as the "tip") and maxFeePerGas .
Description of Terms
Highest priced transaction in the mempool
Block number at the time of prediction
Milliseconds since the last block was mined relative to when data was computed
Block this prediction is for
Base fee per gas for current block in gwei. (Only type2 transactions Post EIP-1559 have this value and it's burned by the network upon transaction success).
Number of items we estimate will be included in next block based on mempool snapshot
0-99 likelihood the next block will contain a transaction with a gas price >= to the listed price
Price in Gwei (used for type0 transactions: Pre EIP-1559)
Max priority fee per gas in gwei also known as the "tip" (used for type2 transactions: EIP-1559)
Max fee per gas in gwei (used for type2 transactions: EIP-1559). Our current max fee heuristic is Base Fee * 2 + Priority Fee. This is to protect against a ‘rapid’ rise in the base fee while your transaction fee is pending. In most cases, the actual transaction fee will approximate Base Fee + Priority Fee.
Pending transactions unlikely to be included in the next block due to poor nonce ordering are not included in distribution data