♈
Bootcamp-2024
  • Intro
  • 1. Blockchain & Wallet Fundamentals
    • Blockchain Introduction
    • State Machines
    • Cryptography
    • Distributed Networks
    • Game Theory
    • What is Web3
    • MetaMask Wallet Installation
    • Transferring Tokens with MetaMask
  • 2. Smart Contract & Solidity Fundamentals
    • Using Remix
    • Create, compile and publish your first smart contract
    • Interact with already published smart contracts
    • Blockchain Explorer
    • Verify source code on Etherscan
  • 3. Oracles, ERC20 & Chainlink Data Feeds
    • Oracles
    • Create & Deploy ERC20
    • Data Feeds
  • 4. Cross-Chain Tokens With Chainlink CCIP
    • Setting up MetaMask
    • Getting USDC Testnet Tokens
    • Create Smart Contract In Remix
    • Compile and Deploy
    • Approve USDC
    • Send LINK to your Contract
    • Send USDC from Fuji to Sepolia
    • USDC on Sepolia
  • 5. Mentoring Session
  • 6. NFTs & Chainlink Automation
    • NFT Basics
    • Dynamic NFTs
    • Creating an NFT Smart Contract
    • Deploying Your Dynamic NFTs
  • 7. Chainlink CCIP & Cross-Chain NFT dApps
    • Create and deploy CCIP NFT Contracts
    • Mint on Source Chain
    • Fund Contract
    • Mint On Sepolia From Fuji
    • Mint from Destination 2 - Base Sepolia
  • 8. Random Numbers with Chainlink VRF
    • Introduction to Chainlink VRF
    • Hands On Game Using VRF
  • 9. Off-Chain Data with Chainlink Functions
    • Chainlink Functions Playground
    • Setting up MetaMask
    • Remix
    • Functions Subscription
    • Creating The Functions Consumer Contract
    • Sending a Request from Remix
    • City Weather and Examples
    • City Weather on Chainlink Functions
  • 10. Connecting the 🌏 with Chainlink
  • Glossary
Powered by GitBook
On this page
  1. 9. Off-Chain Data with Chainlink Functions

Sending a Request from Remix

PreviousCreating The Functions Consumer ContractNextCity Weather and Examples

Last updated 1 year ago

In Remix, under “DEPLOY & RUN TRANSACTIONS”, click the left arrow next to your deployed contract:

To the right of the sendRequest function, click the down arrow:

Here, you will find two parameter inputs, subscriptionId and args. Paste in your Subscription ID (#1) from your Chainlink subscription . Then put in `[1]` for the args (#2). This is the character Id we're going to fetch! Then click the “transact” orange button (#3). MetaMask will pop-up asking to confirm the transactions so press the "Confirm" button (#4)

Now after the transaction is confirmed, click the character call button and you shall see Luke Skywalker! Try it out will different args and it will return different Star Wars characters!

Click the left arrow
Click the down arrow
Steps to make the off-chain data call
Luke, may the force be with you!