ThunderCore
ThunderCoreThunderCore Bridge
  • ⚡Hello world
  • Developer Program
  • Network Details
    • ThunderCore Mainnet
    • ThunderCore Testnet
    • Token List
    • Smart Contract Services
    • Full Node Deployment
  • Develop on ThunderCore
    • Migrate from Ethereum
    • Using Foundry
    • Using Hardhat
    • Using Remix
    • Using Truffle
    • Deploy TT20
    • Deploy a DApp
    • Deploy a NFT
  • Develop on TT Wallet
    • DApp Submission
    • Deeplinking
    • Signing Messages
    • Ethereum Provider API
    • Token Listing
    • Advertising with TT Wallet
      • Logo size submission guideline
      • Promotional Package
      • How we help developers
    • Developer Build - TT Wallet (Android)
  • FAQs
  • Product / Protocol
    • Wallets
      • MetaMask
        • Create a MetaMask Wallet
        • Create multiple accounts
      • TT Wallet
    • ThunderCore Bridge
      • Architecture
      • Ethereum <> ThunderCore
      • BNB chain <> ThunderCore
      • Interact with ThunderCore Bridge
  • Tool
    • Game Development
      • MetaFab
    • DApp Development
      • Faucet
      • Random Number Generator
      • Oracles
      • Referral Library
      • TTSwap Resources
      • Wrapped TT Addresses
      • Multicall
      • Subgraph
      • Auth Service
      • Wallet Service
      • Node Service
Powered by GitBook
On this page
  • Official Subgraphs
  • GraphQL Query Example
  • Third Party Sugbraphs
  1. Tool
  2. DApp Development

Subgraph

ThunderCore subgraph provides developers to query some dapp blockchain data via GraphQL, which is a convenient choice for client applications based on web technologies that use HTTP/REST APIs to talk to other services.

Official Subgraphs

Name
Description

A one-stop DeFi platform where you can earn profits in stablecoins.

A one-stop DeFi platform where you can earn profits in TT.

A DEX (decentralized exchange) on the ThunderCore blockchain based on the AMM model inspired by Uniswap.

GraphQL Query Example

TT Mining(StableCoin)

query tvlQuery {
  v5TotalValueLockeds {
    id
    amount
  }
}

TT Mining(TT)

query subscriptionV2 {
  ttsubscriptions(id: "", first: 10) {
    id
    plan {
      duration
      interestRate
      id
      subscribedCount
    }
    couponID
    amount
    interest
    starttime
    endtime
    redeemed
  }
}

TTSwap

query exchangesQuery {
  exchanges {
    tokenAddress
    tokenBalance
    tokenName
  }
}

Third Party Sugbraphs

If you want to apply to deploy a subgraph using ThunderCore's infrastructure, please contact support@thundercore.com

Last updated 1 year ago

TT Mining(StableCoin)
TT Mining(TT)
TTSwap