Skip to main content

Overview

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

Exchange V3

Includes all SushiSwap V3 Exchange data with Price, Volume, Users, etc.

Exchange V2

Includes all SushiSwap Exchange data with Price Data, Volume, Users, etc.

MasterChef

Indexes all MasterChef staking data.

Mainnet

MasterChef V2

Indexes all MasterChef V2 staking data.

Mainnet

SushiMaker

Indexes the SushiMaker contract, which handles the serving of exchange fees to the SushiBar.

Mainnet

SushiMaker V2

Indexes the SushiMaker V2 contract, which handles the serving of exchange fees to the SushiBar.

Mainnet

Sushi Timelock

Includes all of the timelock transactions queried, executed and cancelled.

Mainnet

SushiBar

Indexes the SushiBar, which includes all the data related to the bar.

Mainnet

SushiSwap-Subgraph-Fork

Indexes the SushiSwap Factory, and includes Price Data, Pricing, etc (on uniswap-fork branch).

Mainnet

BentoBox

Indexes all BentoBox and Kashi Lending data.

Mainnet

MiniChef

Indexes the MiniChef contracts, which are used in place of MasterChefs for alternate networks.

MISO

Indexes the MISO contracts, which includes auction data, participants, commitments, etc.

Furo

Indexes the Furo contracts, which includes streaming data, vesting data and user data.

Trident

Indexes the Trident contracts, which includes all kinds of information including data for the different pools, mint/burn/swaps, users, liquidity positions, snapshots, etc.

Matic

Resources

SushiSwap Subgraph Explorer

SushiSwap Subgraph Source Code

The Graph

GraphQL