Gas Platform
Gas Platform optimizes transaction fees without sacrificing execution speed.
The Blocknative Gas Platform is a set of APIs that accurately price transactions to get them on-chain faster, for less. Simply integrate the API into your protocol, dapp, wallet, or bot to get started.
The Blocknative Difference
The Gas Platform is the industry's most precise tool for predicting gas prices. Unlike other solutions relying solely on on-chain data, Blocknative leverages real-time mempool data when accessible and predictive modeling to forecast gas price distribution and the gas price required for inclusion in the next block or next ∼10 seconds, depending on the chain. Blocknative confidently prices your user's transactions for the transaction execution speed desired based on the current pressure in the mempool:
Based on quantile regression model: optimized for accurate and consistent prediction of the minimum marketable gas price for either the next block or the next ∼10 seconds, depending on the chain.
Accurately predicting minimum gas price: Prediction models must measure the validity of their results against the ground truth of confirmed blocks.
Avoiding over paying: Confidence in predicting sufficient gas price to be included in the next block must be balanced against over paying. Our goal is to be as close as possible, but not below, the minimum gas price of the next block.
User control: Since different users have different degrees of urgency for getting transactions into the next block, we provide a range of confidence levels for next-block inclusion.
APIs Available
Three gas APIs are available to integrate into your protocol, dapp, or bot:
The Gas Price API provides precise, real-time calculations required for next-block or next ∼10 seconds confirmation, depending on the chain. Available for Ethereum, Polygon, SEI, Optimism, Arbitrum, Base and others.
The Base Fee Prediction API provides both type-2 base fee and type-3 blob base fee prediction 5 blocks into the future. Available for Ethereum.
The Gas Distribution API provides the distribution of gas prices in the mempool at that moment in time. Available for Ethereum.
The use of these endpoints requires an API key. Request an API key here.
Last updated