Browse docs

Lock check

Last updated

GET
https://www.vestream.io/api/v1/token/{chainId}/{address}/locks?cancelable=true

The lock check before you buy: every vesting and lock schedule for one token, largest first, with what's still locked, start, cliff and end, the next unlock, and whether the sender can cancel it. summary.cancelable_locked is how much could be pulled back.

Parameters

NameTypeDescription
chainIdrequiredpath · integerChain ID. Solana is 101. See GET /chains.
addressrequiredpath · stringToken contract address (EVM, case-insensitive) or Solana mint (case-sensitive).
active_onlyquery · booleanfalse includes finished schedules. Default: true.
cancelablequery · booleantrue returns only schedules the sender can cancel.
limitquery · integerMaximum rows to return. Default 100, maximum 500. Default: 100.
offsetquery · integerRows to skip, for paging. Default: 0.

cancelable is null where the protocol doesn't report it; summary.cancelable_unknown counts those schedules.