Futaba
TwitterBlog
  • 🌱Introduction
    • Introduction
    • Concept
    • Architecture
  • 🛠️Protocol
    • Gateway
      • Send
      • Receive
      • Estimate fee
      • Cache
    • Light Client
      • Request Query
      • Verify
      • Estimate fee
    • Relayer
    • Konoha
      • Chainlink Oracle
      • Herodotus
      • Lagrange
  • 💡Guide
    • Futaba Testnet
      • Balance query
      • Custom query
      • Access cache
      • Cross-chain voting
    • Quick Start
    • Customize Light Client
    • Example Apps
  • 📗References
    • FAQ
    • Contract addresses
    • Glossary
  • 🔗Links
    • Twitter
    • Blog
Powered by GitBook
On this page

Was this helpful?

  1. Protocol
  2. Light Client

Request Query

Processing performed by Light Client at the time of request

PreviousLight ClientNextVerify

Last updated 1 year ago

Was this helpful?

This function is used when you want to implement your own logic at request time with Light Client Contract.

No need to implement your own if you don't want to.

function requestQuery(QueryType.QueryRequest[] memory queries) external;
Field
Description

queries

An array of QueryRequest data

Our early implementation with Oracle incorporates the following logic:

  • Format QueryRequest into dstChainId and height only

  • Making a request to Oracle using

🛠️
Chainlink's Connecting to any API