Oracles API
Retrieve a list of supported oracles by chain and their associated metadata.
Last updated
Was this helpful?
Retrieve a list of supported oracles by chain and their associated metadata.
Last updated
Was this helpful?
The Blocknative Gas Oracles API provides metadata on supported chains, including their chain ID, label, architecture, RPC url, block explorer url and oracle addresses keyed by version. This allows developers to dynamically identify which networks have live supported gas estimation oracles.
A valid Blocknative API key is OPTIONAL in the Authorization
Header of every request. Request an API key .
A free API key is recommended for more generous rate limits and future features.
GET
https://api.blocknative.com/oracles
Returns a list of supported gas oracles per chain along with their chain ID, label, architecture (e.g., evm
), RPC url, block explorer url and oracle addresses keyed by version (e.g. "2":"0x1c51B22954af03FE11183aaDF43F6415907a9287"
). This allows users to identify networks that have supported oracles where Blocknative provides onchain gas price estimation. The list and available fields are subject to change as new chains or parameters are added or updated.
Each endpoint is limited to provide updated results once per second for paid tier API keys, or every 5 seconds for free tier API keys. Polling faster than these rates may deliver stale data.
Authorization
String
OPTIONAL
if used, must contain a valid apikey
200
Success
401
API key invalid or not provided
429
Rate limit exceeded. Refer to headers for retry
arch
String
The blockchain architecture (e.g., "evm"
).
chainId
Integer
The unique identifier for the blockchain (e.g., 1
for Ethereum).
label
String
The human-readable name of the blockchain (e.g., "Polygon zkEVM"
).
icon
String
URL to the blockchain's icon.
system
String
The human-readable name of the ecosystem, (e.g. "ethereum"
or "bitcoin"
)
network
String
addressByVersion
Object<String, String>
An objects with the inner keys representing the contract version of the oracle and the value of given key being the gas oracle address (e.g. <oracleVersion> : <contractAddress>
|| "2": "0x152bB09cE15f1149dBE46EB9E4D4e1B572513453"
rpcUrl
String
A public RPC Url for the given chain (e.g. "https://optimism.llamarpc.com"
)
blockExplorerUrl
String
A public Block Explorer Url for the given chain (e.g. "https://optimistic.etherscan.io/"
)
The list of supported blockchains and available features may change as new networks are integrated.
Internal name of the blockchain (e.g. "main"
or "sepolia"
). See .