GETGet vesting contracts

TON Mainnethttps://ton-mainnet.nodit.io/api/v3/vesting
CU40

Query vesting contracts that match the specified filters.

Query Parameters
contract_addressstring[]

Vesting contract address in any form. Maximum: 1000 addresses.

wallet_addressstring[]

Wallet address to filter by owner or sender. Maximum: 1000 addresses.

check_whitelistboolean

Check whether the wallet address is on the whitelist.

limitinteger (int32)

Limit the number of rows to return. Use with offset to batch requests.

offsetinteger (int32)

Skip the first N rows. Use with limit to batch requests.

Responses
{address}object

Address book entry. The key is an address that appears in the response, in raw format workchain:hex.

domainstring

TON DNS domain linked to the address. null when no domain is associated.

interfacesstring[]

Contract interfaces detected for the address, for example wallet_v4r2. Can be null or empty when none are detected.

user_friendlystring

Address in user-friendly base64url format.

addressstring

Address of the vesting contract in raw format workchain:hex.

cliff_durationinteger

Cliff period in seconds, counted from start_time. No coins are unlocked before the cliff ends.

owner_addressstring

Address of the vesting owner, the account the vesting was issued to, in raw format workchain:hex.

sender_addressstring

Address of the vesting sender, the account that issued the vesting, in raw format workchain:hex.

start_timeinteger

Unix timestamp in seconds at which the vesting starts.

total_amountstring

Total amount of coins subject to vesting in nanograms, as a decimal string.

total_durationinteger

Total duration of the vesting in seconds, counted from start_time.

unlock_periodinteger

Interval in seconds at which a portion of the vested coins is unlocked.

whiteliststring[]

Whitelisted addresses in raw format workchain:hex. The owner can send coins that are still locked to these addresses under the restrictions of the vesting contract.

X-API-KEY
Request
cURL
curl -X GET "https://ton-mainnet.nodit.io/api/v3/vesting?wallet_address=EQC5QeYg31ggWlkLDW6-kZxmubzqf8_TT3VjPSIbf6QwqFtN&check_whitelist=false&limit=1&offset=0" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "vesting_contracts": [],
  "address_book": {}
}