Flag Doc
  • Summary
  • DOCUMENTATION
    • Learn about the Flag Platform
      • Flag Overview: vision, strategy and platform components
      • The Flag Blockchain
        • Discovering the Network
        • Flag Consensus
        • Delegation through Staking with Validators
        • Ethereum (EVM) Compatibility and Smart Contracts
        • Boosting Flag's Scalability
      • Flag Coin (FLAG)
        • FLAG Tokenomics
        • Exchanges, Wallets, On-Ramps and DeFi Tools Supporting FLAG
        • FLAG on Other Chains
      • Interoperability
      • Flag Governance and Development
        • Flag Assembly
        • Flag Improvement Proposals (FIPs)
      • Wallets supporting Flag
    • Flag for Business
    • Things you can do on Flag
      • Interacting with the Flag Blockchain
      • Flag Ecosystem
      • Community
      • Grants and Bounties
  • Developers
    • Network Details
      • Flag Mainnet
      • Flag Testnet
      • Token Faucets
      • Network Upgrades
        • Upgrade Guide
        • Upgrade Guide (explorer nodes)
        • Block 13,800,000 Fork
        • FIP's
    • Flag Consensus
      • Contracts Overview
      • Stake, Delegate and Withdraw
      • Vote
      • End-of-Cycle Flow
      • Contract Addresses
    • How to run network nodes
    • Resources & Tools
      • TheGraph
      • WalletConnect on Flag
    • Important smart contracts
      • Flag Token
      • Major Deployed Contracts
      • Bridges
        • Ethereum ↔ Flag FLG20 Tokens
        • BSC ↔ Flag BNB
        • BSC ↔ Flag Native
        • BSC ↔ Flag FLG20
        • Ethereum ↔ Flag Native
    • How to become a validator
      • Getting started as a validator
      • Getting started as on the Flag testnet
  • Links
    • Discord
    • Facebook
    • GitHub
    • LinkedIn
    • Medium
    • Telegram
    • Twitter
    • YouTube
Powered by GitBook
On this page
  • Deploying your own subgraph
  • Available Subgraphs
  • Flag Consensus
  1. Developers
  2. Resources & Tools

TheGraph

Build of The Graph, we expose a GraphQL API to access the data on the Flag Network

PreviousResources & ToolsNextWalletConnect on Flag

Last updated 1 year ago

Deploying your own subgraph

TheGraph, a decentralized protocol for indexing and querying chain data, supports the Flag Netork.Go to to sign up and create your subgraph.

  • Follow the instructions for how to deploy the subgraph

  • in subgraph.yaml, the network name should be flag

Available Subgraphs

Subgraphs that builded and maintained by the Flag team, deployed on Flag internal infrastructure or The Graph hosted service.

Flag Consensus

on Flag graph-node:

https://thegraph.com/
https://thegraph.flagscan.xyz/subgraphs/name/flagchain/flag-consensus