WhiteSwap
  • About WhiteSwap
  • Protocol Overview
    • How WhiteSwap Works
    • Eсosystem Participants
    • Smart Contracts
    • Glossary
  • Core Concepts
    • Swaps
    • Pools
    • Flash Swaps
    • Oracles
    • Farming
    • WSD Staking
  • Advanced Topics
    • Fees
    • Pricing
    • Understanding Returns
    • Security
    • Research
  • Governance
    • Overview
    • Process
    • Glossary
  • Governance Token
    • Introducing WSD
    • Allocation & Vesting
    • Community Treasury
  • Developer Guides
    • Token Listing
    • Javascript SDK
      • SDK Quick Start
      • Fetching Data
      • Pricing
      • Trading
      • Pair Addresses
  • Reference
    • API
      • API Overview
      • Entities
      • Queries
    • SDK
      • Getting Started
      • Token
      • Pair
      • Route
      • Trade
      • Fractions
      • Fetcher
      • Other Exports
    • Smart Contracts
Powered by GitBook
On this page
  • Resources
  • Usage
  • Making Queries

Was this helpful?

  1. Reference
  2. API

API Overview

PreviousAPINextEntities

Last updated 4 years ago

Was this helpful?

This section explains the WhiteSwap Subgraph and how to interact with it. The WhiteSwap subgraph indexes data from the WhiteSwap contracts over time. It organizes data about pairs, tokens, WhiteSwap as a whole, and more. The subgraph updates any time a transaction is made on WhiteSwap. The subgraph runs on protocol’s hosted service and can be openly queried.

Resources

- sandbox for querying data and endpoints for developers.

WhiteSwap - source code for deployed subgraph.

Usage

The subgraph provides a snapshot of the current state of WhiteSwap and also tracks historical data. It is currently used to power . It is not intended to be used as a data source for structuring transactions (contracts should be referenced directly for the most reliable live data).

Making Queries

To learn more about querying a subgraph refer to .

The Graph
Subgraph Explorer
Subgraph
info.ws.exchange
The Graph’s documentation