UNCX TokenVesting locks can be read from UNCX's subgraphs, but the subgraph alone gives wrong answers for transferred and split locks. Confirm each lock with the contract's getLock(), or use a vesting API that already does.
This guide covers where UNCX vesting data lives, the query that reads it, the transfer bug, and the one-call shortcut. For what UNCX's lockers and vesting products are, see UNCX token lockers and vesting.
UNCX says new vesting schedule creation is currently unavailable in its app. Existing locks remain readable and claimable onchain.
Two vesting products
- TokenVesting V3, the main one, indexed by a subgraph on The Graph per chain (Ethereum, BNB Chain, Base). Locks are either Linear (release from
startEmissiontoendEmission) or Cliff (everything atendEmission). - VestingManager, a separate contract. Vestream reads it from its
VestingCreatedevents.
LP locks are a third UNCX product. They lock liquidity tokens rather than vest an allocation, so they aren't vesting data.
The subgraph query
query Locks($owners: [String!]!) {
locks(where: { owner_: { id_in: $owners } }, first: 200, orderBy: startEmission) {
id # locker address + lock id
lockID
releaseSchedule # Linear | Cliff
token { id symbol decimals }
sharesDeposited
sharesWithdrawn
startEmission
endEmission
lockDate
owner { id }
}
}Owner addresses are matched lowercase. For a pure cliff lock startEmission is zero, so fall back to lockDate for the start.
The transfer bug, and the fix
When a lock owner transfers or splits a lock, the contract creates a new lock ID and empties the old one. The subgraph doesn't follow: it keeps the old entity frozen with its original shares, so the previous owner still appears to hold the full balance, and it stamps the new entity's lockID with the parent's ID, so a claim built from it calls withdraw on the wrong lock and reverts. We counted 2,628 of these phantom locks across Ethereum, BNB Chain and Base in October 2026.
The fix has two parts:
- Take the real lock ID from the entity ID, which is the locker address followed by the lock ID, not from the
lockIDfield. - Confirm with
getLock(lockId)on the TokenVesting contract. It returns the current owner and the amounts in tokens rather than shares. Drop any lock whose owner is no longer the wallet you asked about.
The subgraph's sharesDeposited and sharesWithdrawn are shares, not tokens. Only getLock gives token amounts.
The shortcut: one REST call
The Vestream API reads both UNCX products, confirms every TokenVesting lock with getLock, and returns claimable, locked and next-unlock values in the same shape as 12 other vesting platforms:
curl "https://www.vestream.io/api/v1/wallet/0xYOUR_WALLET/vestings?protocol=uncx,uncx-vm" \
-H "Authorization: Bearer vstr_live_YOUR_KEY"TokenVesting locks come back as uncx-{chainId}-{lockId} with the real lock ID, and VestingManager schedules with the uncx-vm protocol. To check every lock on a token, including whether each can be cancelled, call GET /token/{chainId}/{address}/locks. A free key takes 30 seconds at vestream.io/build.
Frequently Asked Questions
Does UNCX have an API for vesting?
UNCX's TokenVesting V3 is indexed by subgraphs on The Graph, one per chain. Its separate VestingManager contract can be read from its VestingCreated events.
Why does the UNCX subgraph show tokens a wallet no longer has?
After a lock is transferred or split, the subgraph keeps the old lock with its original shares. Confirm each lock with the contract's getLock(), which returns the current owner and token amounts.
What's the difference between shares and tokens in UNCX?
The subgraph reports shares. The contract converts shares to tokens, and getLock returns tokensDeposited and tokensWithdrawn. Use those for anything you show a user.
Which chains does Vestream read UNCX on?
Ethereum, Base, BNB Chain and Robinhood Chain.