To read Hedgey vesting plans programmatically, call Hedgey's plan contracts directly or use a vesting API that already does. Each plan is an NFT held by the recipient, and its schedule lives in the contract that minted it, so the contracts are the most reliable source.
This guide covers where Hedgey plans live, the calls that read them, the traps that make a wallet look emptier than it is, and the one-call shortcut. For how Hedgey plans work, see Hedgey NFT vesting plans explained.
Four contracts, not one
Hedgey runs four plan contracts, each at the same address on every EVM chain it supports. Reading only the first one misses most plans: in our October 2026 census, TokenVestingPlans held just 23% of finished plans.
| Contract | Address | Revocable? |
|---|---|---|
| TokenVestingPlans | 0x2CDE9919e81b20B4B33DD562a48a84b54C48F00C | Yes, if the plan has a vesting admin |
| VotingTokenVestingPlans | 0x1bb64AF7FE05fc69c740609267d2AbE3e119Ef82 | Yes, if the plan has a vesting admin |
| TokenLockupPlans | 0x1961A23409CA59EEDCA6a99c97E4087DaD752486 | No |
| VotingTokenLockupPlans | 0x73cD8626b3cD47B009E68380720CFE6679A3Ec3D | No |
Vesting plans can be revoked by their vesting admin. Lockup plans have no admin and can't be revoked. Not every contract is on every chain: on Berachain, for example, VotingTokenLockupPlans isn't deployed, and including it makes a whole multicall batch fail.
Reading a wallet's plans
Each contract is an ERC-721, so enumerate the wallet's plan IDs, then read each plan:
// For each of the four contracts on the chain:
const count = await contract.read.balanceOf([wallet]);
const ids = await Promise.all(
Array.from({ length: Number(count) }, (_, i) => contract.read.tokenOfOwnerByIndex([wallet, BigInt(i)])),
);
for (const id of ids) {
// Vesting contracts: { token, amount, start, cliff, rate, period, vestingAdmin, adminTransferOBO }
// Lockup contracts: { token, amount, start, cliff, rate, period }
const plan = await contract.read.plans([id]);
const now = BigInt(Math.floor(Date.now() / 1000));
const [claimable, remaining] = await contract.read.planBalanceOf([id, now, now]);
const end = await contract.read.planEnd([id]);
}Batch these with a multicall, in pages of 50 to 100 calls: free RPC endpoints reject large responses, and a failed batch silently returns nothing.
What trips people up
amountis what's left, not the original grant. Each redemption shrinksamountand movesstartforward. Don't treat it as the total ever granted.- Use the contract's own balance.
planBalanceOf(id, now, now)returns what's claimable now and what's still locked, andplanEnd(id)the end date. Rebuilding this fromrateandperiodgets the end date one period early on about half of plans. - Nothing is claimable before the cliff. Tokens accrue per period from
start, but none can be redeemed untilcliff; then the back-accrued amount unlocks at once. - Fully redeemed plans disappear. When a plan is redeemed in full, Hedgey deletes it and burns the NFT.
ownerOfthen reverts andplans(id).amountis zero. If your cache shows a plan as owed but it no longer exists onchain, it was redeemed, not lost. - Plans are transferable. The recipient is whoever holds the NFT now, so re-read ownership rather than trusting the original recipient.
The shortcut: one REST call
The Vestream API reads all four Hedgey contracts on every chain, uses the contracts' own balances, 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=hedgey" \
-H "Authorization: Bearer vstr_live_YOUR_KEY"Stream IDs come back as hedgey-{chainId}-{planId} for TokenVestingPlans and hedgey-{chainId}-{tag}-{planId} for the other three (vtvp, tlp, vtlp). Each stream says whether it is cancelable. A free key takes 30 seconds at vestream.io/build.
Frequently Asked Questions
How do I get Hedgey vesting data?
Read the plans from Hedgey's four plan contracts (balanceOf, tokenOfOwnerByIndex, plans and planBalanceOf), or use a vesting data API such as Vestream's, which reads them for you.
Why does my Hedgey scan miss plans?
Most likely it reads only TokenVestingPlans. Hedgey also issues plans from VotingTokenVestingPlans, TokenLockupPlans and VotingTokenLockupPlans, at the same addresses on every chain.
How do I calculate what's claimable on a Hedgey plan?
Call planBalanceOf(planId, now, now) on the plan's contract. It returns the claimable balance and the remainder, and it applies the cliff and the cap for you.
Which chains does Hedgey run on?
Vestream reads Hedgey on Ethereum, Base, BNB Chain, Polygon, Arbitrum, Optimism, Avalanche and Berachain.