For developers

How Token Vesting Data Is Normalised Across 13 Platforms

Every vesting platform stores schedules differently: streams, NFTs, lockers, per-second flows, Merkle trees, Solana accounts. How Vestream turns them into one record per position, the rules that keep it honest, and the fields you get.

·7 min read·By Non Fungible Howard

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

PlatformHow it stores vestingWhat has to be worked out
SablierStreams of three types: linear, tranched steps, or curved segmentsHow much has vested, from the right curve
HedgeyEach plan is an NFT, across four plan contractsWho holds the plan now, and its release rate
UNCX, Team Finance, PinkSaleLockers: one release date, or a first release then cyclesThe schedule from lock terms
Superfluid, LlamaPayContinuous per-second flowsAccrued so far, minus withdrawn
MagnaMerkle trees: only a root is onchainA wallet's schedule, which is revealed when it claims
Streamflow, Jupiter Lock, SmithiiSolana program accounts, not event logsDecoding accounts and resolving token metadata

The record every position becomes

FieldMeaning
id{platform}-{chainId}-{nativeId}, stable across refreshes
protocol, chainIdWhere the schedule lives
recipientThe wallet that can claim. EVM lowercased; Solana kept exactly as is
tokenAddress, tokenSymbol, tokenDecimalsThe token, with symbol and decimals read from the chain
totalAmount, withdrawnAmountAllocated, and already claimed
claimableNow, lockedAmountVested but not claimed, and still locked
startTime, cliffTime, endTimeThe schedule, in unix seconds
shape, unlockStepsLinear, or steps with each step's date and size
nextUnlockTime, isFullyVestedWhat 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.

Track your own token vesting

Paste any wallet, see every unlock across 13 protocols and 13 chains. Free, no sign-up.

Build with the same data

A free API key and MCP server for token vesting, lock and unlock data across every protocol we index.

Get a free API key →

Read the developer docs

More from Vestream Resources