To read Sablier vesting streams programmatically, query Sablier's Envio indexer or use a vesting API that already does. Sablier's original The Graph subgraphs stopped returning data in 2025, when Sablier moved its indexing to Envio. Code written against the old streams query now fails with Type 'Query' has no field 'streams'.
This guide covers how Sablier stream data is structured, the query that reads it today, the parts that are easy to get wrong, and the shortcut: every Sablier position for a wallet in one REST call. For what Sablier is and how its streams vest, see Sablier token streaming explained.
Where Sablier data lives now
Sablier publishes one multi-chain GraphQL endpoint, run on Envio HyperIndex, for all of its Lockup deployments. Instead of a separate subgraph URL per network, you filter by chainId inside the query. The entity names and field shapes changed in the move:
| Old subgraph (The Graph) | Envio (now) |
|---|---|
| streams(...) | LockupStream(...) |
| where: { recipient_in: [...] } | where: { recipient: { _in: [...] } } |
| first: 200 | limit: 200 |
| token { id symbol decimals } | asset { address symbol decimals } |
| withdrawals { amount timestamp } | actions(where: {category: {_eq: "Withdraw"}}) { amountB timestamp } |
The stable stream ID survived the migration: subgraphId on LockupStream is the same number the old subgraph exposed.
A working query
query Streams($chainId: numeric!, $recipients: [String!]) {
LockupStream(
where: {
chainId: { _eq: $chainId }
recipient: { _in: $recipients }
canceled: { _eq: false }
}
order_by: { startTime: asc }
limit: 200
) {
subgraphId
category # LockupLinear | LockupTranched | LockupDynamic
asset { address symbol decimals }
depositAmount
withdrawnAmount
startTime
endTime
cliffTime
tranches { amount endTime }
segments { startTime endTime amount exponent }
}
}Recipient addresses are matched lowercase. Page with limit and offset for wallets with more than 200 streams.
The three stream types, and what trips people up
- LockupLinear: tokens unlock evenly from start to end, optionally after a cliff. Nothing is claimable before the cliff. A common bug is to accrue straight-line from the start date and show tokens as claimable during the cliff.
- LockupTranched: tokens unlock in steps. Each tranche's
amountis the size of that step, not a running total, so don't difference them. - LockupDynamic: tokens unlock along a curve made of segments, each with an exponent. Linear maths gets these wrong; you have to evaluate each segment.
- Claimable is not on the stream. Compute it as vested so far minus
withdrawnAmount, using the right curve for the stream type. - Sablier Flow is separate. Open-ended payment streams (Flow) live in different contracts from Lockup vesting.
The shortcut: one REST call
The Vestream API already reads Sablier's indexer, handles all three stream types and returns claimable, locked and next-unlock values computed for you. It does the same for 12 other vesting platforms, in the same shape:
curl "https://www.vestream.io/api/v1/wallet/0xYOUR_WALLET/vestings?protocol=sablier" \
-H "Authorization: Bearer vstr_live_YOUR_KEY"Stream IDs come back as sablier-{chainId}-{streamId}, for example sablier-8453-4117, which you can pass to GET /stream/{streamId}. Drop the protocol filter to get every platform at once.
Sablier announced maintenance mode in July 2026. Existing streams keep vesting and remain claimable. See what Sablier's maintenance mode means for holders.
Frequently Asked Questions
Does Sablier still have a subgraph?
Sablier's original The Graph subgraphs stopped returning data in 2025, when Sablier moved its indexing to Envio. The current data source is a single multi-chain Envio GraphQL endpoint that you filter by chainId.
How do I get all Sablier streams for a wallet?
Query LockupStream filtered by recipient and chainId on Sablier's Envio endpoint, once per chain, or call GET /wallet/{address}/vestings?protocol=sablier on the Vestream API to get every chain in one call.
How do I calculate how much is claimable on a Sablier stream?
Work out how much has vested so far using the stream's type (linear with cliff, tranched steps or dynamic segments), then subtract withdrawnAmount. Nothing is claimable before the cliff.
Which chains does Sablier run on?
Sablier is deployed on many EVM chains. Vestream reads it on Ethereum, Base, BNB Chain, Polygon, Arbitrum, Optimism, Avalanche, Robinhood Chain, Monad, zkSync Era, Blast and Berachain.