What is a blockchain oracle? How smart contracts learn about the real world
By SendPay Business · · 2 min read
- 1Type in your own numbers
- 2The tool works it out
- 3See the answer clearly
A blockchain can only see what happens on the blockchain. A smart contract cannot check a currency price, a sports score or the weather by itself. An oracle is a service that brings that outside information onto the blockchain so contracts can use it.
What oracles are used for
The most common use is price feeds: lending and trading apps in decentralised finance need up-to-date prices to work out loans and trades. Oracles are also used for insurance payouts, games and anything else that depends on real-world events.
How they work
- A smart contract asks for a piece of data, such as a price.
- The oracle collects it from one or more outside sources.
- It posts the answer on the blockchain.
- The smart contract reads the answer and acts on it.
Try it
Name your platform and watch it come to life
Type a name, tap a colour and pick what it does. The phone changes as you go.
Colour
What it does
Design and preview your whole platform free, then launch when you are ready.
The oracle problem
A smart contract is only as reliable as the data it gets. If an oracle is wrong, slow or manipulated, contracts can pay out wrongly, and some DeFi apps have lost large sums this way. Many oracles now combine data from several independent sources to reduce the risk.
Where SendPay fits
SendPay does not run smart contracts or oracles. SendPay crypto platforms let your customers buy, sell and hold crypto next to their cash, with assets held with regulated partners.
How it works
Your own money app- 1Name it and pick your colours
- 2Choose what it does
- 3Launch when you are ready
Why sign up
Create your free SendPay account
It's all about creating your own financial platform with ease. Start with a free account today.
- 🪪A free business accountOpen it in about a minute with your business name, email, password and mobile. No card and no documents to start.
- 💳Get paid from day oneTake card payments, and share your own payment link and invoices so customers pay in a click.
- 🌐A free business websiteFree to build, free to publish and free to keep, with unlimited visits.
- 🚀Your own financial platformDesign and preview your whole platform free, then launch when you are ready.
SendPay Business is a technology company, not a bank. Accounts, cards and payments are powered by licensed partners.
Questions people ask
Read next
Spotted a mistake or something out of date? and we'll fix it. How our guides are made
This guide is general information, not legal or financial advice. SendPay Business is a technology company, not a bank, and does not take deposits; regulated services on the platforms are provided by licensed partners. Other companies named in this guide are reference points only and are not affiliated with SendPay Business.