Skip to main content

Flow Endpoints

The Graph

This subgraph tracks events emitted by the Sablier Flow contracts, and deals with protocol actions like creating, depositing or voiding flow streams.

warning
In February 2025, we deprecated the old series of `sablier-v2-*` subgraphs endpoints. They will remain available, but they will not track the latest versions of the Sablier Protocol. If you need to use the deprecated endpoints, head over to the Previous Endpoints section.

Source Code

Sablier Subgraphs - Flow - The Graph@sablier-labs/subgraphs - apps/flow

Endpoints

ChainExplorerStudio1Decentralized Network2
Ethereumsablier-flow-ethereumStudioDe. Network
Abstractsablier-flow-abstractStudioDe. Network
Arbitrumsablier-flow-arbitrumStudioDe. Network
Arbitrum Sepoliasablier-flow-arbitrum-sepoliaStudioDe. Network
Avalanchesablier-flow-avalancheStudioDe. Network
Basesablier-flow-baseStudioDe. Network
Base Sepoliasablier-flow-base-sepoliaStudioDe. Network
Berachainsablier-flow-berachainStudioDe. Network
Blastsablier-flow-blastStudioDe. Network
BNB Chainsablier-flow-bscStudioDe. Network
Chiliz Chainsablier-flow-chilizStudioDe. Network
Gnosissablier-flow-gnosisStudioDe. Network
IoTeXsablier-flow-iotexStudioDe. Network
Lineasablier-flow-lineaStudioDe. Network
Lightlinksablier-flow-lightlink*N/ALightlink Node*
Modesablier-flow-modeStudioDe. Network
MorphN/A [Envio]N/A [Envio]N/A [Envio]
Optimismsablier-flow-optimismStudioDe. Network
Optimism Sepoliasablier-flow-optimism-sepoliaStudioDe. Network
Polygonsablier-flow-polygonStudioDe. Network
Scrollsablier-flow-scrollStudioDe. Network
Sepoliasablier-flow-sepoliaStudioDe. Network
SuperseedN/A [Envio]N/A [Envio]N/A [Envio]
TangleN/A [Envio]N/A [Envio]N/A [Envio]
XDCsablier-flow-xdc*N/AXDC Node*
zkSyncsablier-flow-zksyncStudioDe. Network

Envio

Chains: Single vs. Aggregated

While there is a subgraph for each chain Sablier is deployed on, the Envio indexer is a single endpoint that aggregates data across all chains. This approach allows for querying all Sablier data from a single API.

The flow-envio indexer tracks events emitted by the @sablier/flow contracts. It deals with core protocol actions like creating, depositing, or voiding flow streams.

Source Code

Sablier Subgraphs - Flow - Envio@sablier-labs/subgraphs - apps/flow-envio

Endpoints

ChainEndpoint (Hosted Network)
All-Networks3https://indexer.hyperindex.xyz/[...]/v1/graphql

The endpoint is meant to be plugged into a query client. Use Hasura's online explorer to view the entities and query API.

Footnotes

  1. The Graph's Studio endpoints are considered for testing purposes and may be rate-limited

  2. Endpoints could include the following types: (1) The Graph's Decentralized Network (paid) or (2) Custom Nodes (e.g. Lightlink). Because the "Decentralized Network" subgraph flavors (e.g. V1 Ethereum) operate on The Graph Network, you will need to substitute the YOUR_API_KEY placeholder in the Query URL with your own API key. If you require assistance with managing your API keys and configuring indexer preferences, this article serves as an excellent guide

  3. All-Networks means most of the networks supported by Sablier, e.g., Mainnet, Optimism, Polygon, Sepolia. The full list can be found here. To add a new chain to our Envio indexer, create a new list of contracts (/addresses) and import that configuration into our bundles (see /bundles).