Oracle Labs
DiscordGitHubTelegram
  • Welcome!
  • Why Oracle Labs?
  • Services
    • Chainlink node service provider
    • Consulting & development
  • Infrastructure Whitepaper
    • Supported Networks
    • Cloud setup
    • How do we monitor?
      • Monitoring Endpoints
  • Technical
    • Chainlink Guide
    • Chainlink Public Jobs
    • Solving common problems
    • Chainlink Node Logs
      • Log
      • Keystore
      • HeadTracker
      • GasEstimator
      • DirectRequest
      • Postgres
      • Client
      • BulletproofTxManager
      • BalanceMonitor
      • FluxMonitor
      • PeriodicBackups
      • OCR
  • Blog
    • Articles
      • External Initiators
      • Configuring logging in a kubernetes cluster
      • Integrate Chainlink Operator Contract with Chainlink Node
      • Setting up custom price feeds on chainlink node
      • Two-factor authentication to the server via ssh
      • Creating an L2TP vpn tunnel over IPSec
Powered by GitBook
On this page
  1. Technical

Chainlink Guide

The following chart explains Chainlink's Direct Request model.

PreviousMonitoring EndpointsNextChainlink Public Jobs

Last updated 2 years ago

[0] When a transaction is submitted, it triggers a request on the Consumer smart contract. The JobID and input parameters are specified.

[1] The Consumer smart contract sends this request to a specific Oracle smart contract with the input parameters and payment in LINK.

[2] The Oracle smart contract receives payment in LINK for the request and passed it to a Chainlink Node.

[3] Chainlink Node receives a request and executes it by initiating the job/external adapter specified in the Consumer contract.

[4] Chainlink Node requests a Third-Party API premium or free data with the input parameters and receives the expected response.

[5] Chainlink Node parses and encodes the response, preparing the data to be committed on-chain.

[6] Chainlink Node Wallet invokes the callback function on the Oracle Contract and pays the transaction gas fee on specific blockchain.

[7] Oracle smart contract commits the prepared data on-chain writing it to the Consumer smart contract.

[8] Consumer smart contract receives the fulfilled request making the data available to be read on-chain.