Oracle [retired]
An on-chain oracle is a system that connects blockchain smart contracts with off-chain data sources and computational resources, enabling smart contracts to respond to real-world information.
Due to low adoption Brewlabs decided to retire Orcale.
Tip: Oracles are available on Base network only.
About
Brewlabs offers free and premium tier access to oracle data for use across the community. We offer a growing library focusing on mixed on-chain and real world asset price oracles for smart contracts. The oracles are updated every minute with fresh data to highlight its real-time nature. Oracles are not a direct consumer product, but rather an infrastructure tool available for developers to adopt for their own protocols or projects.
What is an example of an Oracle?
Common types of on-chain oracles include:
Price oracles: Providing asset price data (our library)
Data oracles: Supplying real-world information like weather, sports results, etc.
Computation oracles: Performing complex calculations off-chain and providing results
Identity oracles: Verifying real-world identities
Event oracles: Reporting when specific real-world events occur
How to use the Brewlabs Oracle?
Visit the Oracle smart contract getAssetByKeySymbol
Enter your symbol
Example "COIN" and hit query
Receive the asset string key,
Example "0x94d28cfe178ae84130ce540d5dadabd088b301735941a744d121b4926572ece0"
Enter the asset string into the assetPricesfunction
Receive price (consider 8 decimal places)
Example "COIN = 21255000000" ($212.55 USD)
Supported currencies
Each asset price is aggregated from multiple sources with protection against outliers and manipulation.
All prices are updated every 60 seconds.
COIN
COINBASE
2 / HR
Unlimited
MSTR
STRATEGY
2 / HR
Unlimited
TESLA
TESLA
2 / HR
Unlimited
NVIDIA
NVIDIA
2 / HR
Unlimited
SNP500
SNP500
2 / HR
Unlimited
BTC
BITCOIN
2 / HR
Unlimited
BREW
BREWLABS
2 / HR
Unlimited
MOONWELL
MOONWELL
2 / HR
Unlimited
AERO
AERO
2 / HR
Unlimited
ETH
ETHEREUM
2 / HR
Unlimited
XAU
GOLD
2 / HR
Unlimited
MORPHO
MORPHO
2 / HR
Unlimited
VIX
VOTATILITY INDEX
2 / HR
Unlimited
QQQ
INVESCO QQQ
2 / HR
Unlimited
Supported networks
Base
Fees
Free tier
Any wallet can query the Oracle twice per hour.
Premium tier
Deposit $25 in BREW for 30 day access to unlimited oracle queries.
Security
The oracle smart contract has not been externally audited.
Last updated
