LogoLogo
  • ☠️Introduction
    • What is Clipper?
    • How Clipper Makes Money for LPs
    • How LPs Earn from Arbitrage
    • Clipper's Benchmark: No Impermanent Loss
      • Clipper vs. CPMMs vs. HODLing
      • Appendix: Math
    • Why Clipper Has Better Trading Prices
    • DAO Protocol Fees
    • DAO Governance
  • ⚔️How to Use Clipper
    • Liquidity Pools
      • Depositing & Withdrawing
      • Farming Pools
    • Trading
    • Community Adventures
    • FAQs
  • 🪙Governance Token
    • Community Governance
    • ⛵SAIL Primer
      • Clipper Fundamentals
      • DEX Market Structure
      • SAIL Supply & Circulation
      • SAIL Farming
      • veSAIL
      • Token Listings
  • 🏴‍☠️Disclaimers & Technical
    • Audits
    • Smart Contracts
      • Subgraph
        • Entities
        • Queries
    • Integrating with Clipper RFQ
      • Introduction
      • Guides
        • How to use clipper RFQ API?
        • Estimate Clipper Prices
        • Interacting with the Clipper Exchange contracts
        • Integration Examples
          • Swap Native token → Shorttail
          • Swap Shorttail → Native token
          • Swap Shorttail → Shorttail
          • Complete Swap Flow
      • API Reference
        • API v2
          • Overview
          • Pool v2
          • Quote v2
        • API v1
          • Overview
          • Pool
          • Quote
          • Sign
      • Troubleshooting & FAQs
    • Terms of Service
    • Privacy Policy
  • ⛵Come Aboard
    • Discord
    • Twitter
    • Github
Powered by GitBook
On this page
  • Get Started
  • Ethereum
  • Optimism
  • Polygon
  • Arbitrum
  • Helpful Resources

Was this helpful?

  1. Disclaimers & Technical
  2. Smart Contracts

Subgraph

PreviousSmart ContractsNextEntities

Last updated 1 year ago

Was this helpful?

Clipper has a GraphQL API Endpoint hosted by called a subgraph. The subgraph is for indexing and organizing data from Clipper's smart contracts and can be used to query Clipper data.

Subgraph information is serviced by a decentralized group of server operators called Indexers.

Get Started

Learn more about how subgraphs work by checking out . If you are unfamiliar with GraphQL, we recommend first taking a quick look at their documentation .

Ethereum

  • Graphql Endpoint: https://api.thegraph.com/subgraphs/name/edoapp/clipper

Optimism

  • Graphql Endpoint:

Polygon

  • Graphql Endpoint:

Arbitrum

Helpful Resources

Graphql Endpoint:

🏴‍☠️
The Graph
The Graph's official documentation
here
Explorer Page
Code Repo
Explorer Page
https://api.thegraph.com/subgraphs/name/edoapp/clipper-optimism
Code Repo
Explorer Page
https://api.thegraph.com/subgraphs/name/edoapp/clipper-polygon
Code Repo
Explorer Page
https://api.thegraph.com/subgraphs/name/edoapp/clipper-arbitrum
Code Repo
Video Tutorial on creating an API Key
Managing your API Key & setting your indexer preferences
Querying from an application
How to use the explorer and playground to query on-chain data
Deploy your own Subgraph