⚡
SurgeProtocol
  • ⚡SurgeProtocol - Reshaping DeFi
  • Introduction
    • ⚡Foreword
    • ⚡SURGE Intro
    • ⚡Mission
  • SURGE Protocol / $SRG
    • ⚙️Tokenomics
    • ⚖️Liquidity
    • 📄Roadmap
    • 👨‍💻Team
  • Development
    • ⚡Why develop on SURGE?
    • 📖Deploy SRG20 tokens
    • 🤖SRG20 Deployer Bot
    • 📈Subgraph Overview
    • 📈Subgraph Query Examples
  • Guides
    • 🔄SurgeSwap
    • 📈Surge Charts
    • 🔄Trade SRG on Blockchain Explorer
    • 🔄Trade SRG20 on Blockchain Explorer
  • Recources
    • 🔗Links / Social Media
    • 📲Request Forms
      • 📲Text AMA Request Form
      • 📲SurgeSwap Logo Request Form
    • 🎙️AMA Recordings
    • ⚡Brand & Logos
    • 🤝Marketing Partners
Powered by GitBook
On this page
  1. Development

Subgraph Overview

PreviousSRG20 Deployer BotNextSubgraph Query Examples

Last updated 2 years ago

Surgeswap uses multiple for indexing and organizing data from the Surgeswap compatible smart contracts. These subgraphs are hosted on The Graph hosted service and can be used to query Surgeswap data.

Versions and Production Endpoints

Each version of the subgraph is dedicated for a service provider.

Current subgraphs

  • Explorer Page:

  • GraphQL Endpoint:

CG Subgraph:

  • Explorer Page:

  • GraphQL Endpoint:

Each subgraph has a dedicated endpoint for querying data, as well as a page on the exposes the schema and available fields to query.

BSC:

ETH:

Arbitrum:

BSC:

ETH:

Arbitrum:

Code:

📈
The Graph explorer
https://thegraph.com/hosted-service/subgraph/somemoecoding/surgeswap-v2
https://thegraph.com/hosted-service/subgraph/somemoecoding/surgeswap-v1-eth
https://thegraph.com/hosted-service/subgraph/somemoecoding/surgeswap-v1-arbi
https://api.thegraph.com/subgraphs/name/somemoecoding/surgeswap-v2
https://api.thegraph.com/subgraphs/name/somemoecoding/surgeswap-v1-eth
https://api.thegraph.com/subgraphs/name/somemoecoding/surgeswap-v1-arbi
https://github.com/SomeMoeCoding/SurgeSwap-Subgraph-V1
https://thegraph.com/hosted-service/subgraph/somemoecoding/surgeswap-v1-cg-bsc
https://api.thegraph.com/subgraphs/name/somemoecoding/surgeswap-v1-cg-bsc
subgraphs
​