The following pages contain everything you need to know about the SushiSwap suite of subgraphs. SushiSwap subgraphs are powered by The Graph, a protocol for building decentralized applications (dApps) quickly on Ethereum and IPFS using GraphQL.
If you are unfamiliar with GraphQL, we recommend taking a quick look through their documentation first here.
The SushiSwap subgraph works by listening for events emitted by one or more data sources (Smart Contracts) on the various chains. It handles the indexing and caching of data which can later be queried using an exposed GraphQL API, providing an excellent developer experience.
Each subgraph is broken down into its own section and documented in two forms: by entity and by queries.
Current Subgraph Locations
Includes all SushiSwap Exchange data with Price Data, Volume, Users, etc.
Indexes all MasterChef staking data.
Indexes all MasterChef V2 staking data.
Indexes the SushiMaker contract, which handles the serving of exchange fees to the SushiBar.
Indexes the SushiMaker V2 contract, which handles the serving of exchange fees to the SushiBar.
Includes all of the timelock transactions queried, executed and cancelled.
Indexes the SushiBar, which includes all the data related to the bar.
Indexes the SushiSwap Factory, and includes Price Data, Pricing, etc (on uniswap-fork branch).
Indexes all BentoBox and Kashi Lending data.
Indexes the MiniChef contracts, which are used in place of MasterChefs for alternate networks.
Indexes the MISO contracts, which includes auction data, participants, commitments, etc.
Indexes the Furo contracts, which includes streaming data, vesting data and user data.
Indexes the Trident contracts, which includes all kinds of information including data for the different pools, mint/burn/swaps, users, liquidity positions, snapshots, etc.