Man smiling while using a laptop

What is a blockchain oracle? How smart contracts learn about the real world

By SendPay Business · · 2 min read

Your numbers, worked out
  1. Type in your own numbers
  2. The tool works it out
  3. See 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.

Man at a desk in front of a computer

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

Build mine

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.

Woman in glasses working on a laptop

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.

Four coworkers smiling around a laptop

How it works

Your own money app
  1. Name it and pick your colours
  2. Choose what it does
  3. Launch 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

What is a smart contract?

Code on a blockchain that runs by itself.

Smart contracts →
What is DeFi?

Finance apps built on smart contracts.

DeFi explained →
Can I launch my own crypto app?

Yes, with buy, sell and hold built in.

See platforms →

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.