To compare vesting across platforms, every schedule has to be turned into the same shape. Vestream reads 13 vesting platforms on 13 chains and maps each position into one record with the same fields, units and ID format. This page explains how, and the rules that keep the result honest.
Why every platform is different
| Platform | How it stores vesting | What has to be worked out |
|---|---|---|
| Sablier | Streams of three types: linear, tranched steps, or curved segments | How much has vested, from the right curve |
| Hedgey | Each plan is an NFT, across four plan contracts | Who holds the plan now, and its release rate |
| UNCX, Team Finance, PinkSale | Lockers: one release date, or a first release then cycles | The schedule from lock terms |
| Superfluid, LlamaPay | Continuous per-second flows | Accrued so far, minus withdrawn |
| Magna | Merkle trees: only a root is onchain | A wallet's schedule, which is revealed when it claims |
| Streamflow, Jupiter Lock, Smithii | Solana program accounts, not event logs | Decoding accounts and resolving token metadata |
The record every position becomes
| Field | Meaning |
|---|---|
| id | {platform}-{chainId}-{nativeId}, stable across refreshes |
| protocol, chainId | Where the schedule lives |
| recipient | The wallet that can claim. EVM lowercased; Solana kept exactly as is |
| tokenAddress, tokenSymbol, tokenDecimals | The token, with symbol and decimals read from the chain |
| totalAmount, withdrawnAmount | Allocated, and already claimed |
| claimableNow, lockedAmount | Vested but not claimed, and still locked |
| startTime, cliffTime, endTime | The schedule, in unix seconds |
| shape, unlockSteps | Linear, or steps with each step's date and size |
| nextUnlockTime, isFullyVested | What happens next, and whether it's over |
All amounts are integer strings in the token's base units, because vesting amounts often exceed the range a JavaScript number can hold exactly. Divide by 10^tokenDecimals to display them.
The rules that keep it honest
- Nothing is claimable before a cliff. A cliff means zero until the cliff date, then a jump. Code that accrues straight-line from the start shows tokens as claimable that the contract won't release.
- Steps are sizes, not totals. Each unlock step records how much that step releases. Treating them as running totals double-counts.
- Read the platform's own contracts. Third-party indexes drift. In our research, one index disagreed with the chain on 17.5% of a platform's contracts, and another listed 2,628 finished locks as unclaimed when the chain held nothing.
- Never lowercase a Solana address. Base58 is case-sensitive; only EVM addresses are normalised to lowercase.
- An empty result is not a zero. No match means nothing indexed matched, not that a wallet has no vesting. A platform we don't cover won't show up.
- Token values need real liquidity. A thinly traded token can price a large lock at an impossible value. Totals only count prices backed by meaningful trading depth.
Freshness
Positions are refreshed at least daily, from a mix of each platform's indexer, direct contract reads and our own event indexers, and the API returns when each record last changed. Claimable amounts move continuously between refreshes, so anything that acts on a balance should read the contract at that moment. Per-platform, per-chain freshness is public on the status page.
Using the normalised data
The same records power the Vestream app, the REST API and the MCP server for AI agents. Platform-specific guides: Sablier and Streamflow.
Frequently Asked Questions
What does normalising vesting data mean?
Turning each platform's own way of storing schedules (streams, NFTs, lockers, flows, Merkle trees, Solana accounts) into one record with the same fields and units, so positions can be compared and summed across platforms.
Why are amounts returned as strings?
Vesting amounts are integers in the token's base units and often exceed the largest number JavaScript can represent exactly, so they're returned as strings. Divide by 10^decimals to display them.
How is claimable calculated?
Vested so far minus already withdrawn, using the schedule's real shape: zero before any cliff, the right curve for linear or curved streams, and the sum of passed steps for stepped schedules.
How often is the data refreshed?
At least daily, from each platform's indexer, direct contract reads and Vestream's own event indexers. Each API record says when it last changed.