Endpoints
Sablier has a GraphQL API Endpoint hosted by The Graph called a subgraph for indexing and organizing data from the Sablier smart contracts. The code repository for our subgraph can be found here.
Official subgraphs
Official subgraphs are subgraphs maintained by the Sablier team.
Chain | Explorer page | API endpoint |
---|---|---|
Ethereum | Page | Endpoint* |
Optimism | Page | Endpoint |
Arbitrum | Page | Endpoint |
Polygon | Page | Endpoint |
Avalanche | Page | Endpoint |
BSC | Page | Endpoint |
* An API key needed is needed to query our Ethereum
subgraph, as it's based on The Graph's decentralized network. Replace [api-key]
with your API
key in the API endpoint. Here is a good guide on how to manage
your API keys and set indexer preferences.
Unofficial subgraphs
Unofficial subgraphs are subgraphs maintained by external teams.
Chain | Explorer page | API endpoint | Maintainer |
---|---|---|---|
IoTeX | Page | Endpoint | IoTeX team |