TON DocsTON Docs
APIsTON CenterVesting

Get Vesting Contracts

GET
/api/v3/vesting

Get vesting contracts by specified filters

Query Parameters

contract_address?array<string>

Vesting contract address in any form. Max: 1000.

wallet_address?array<string>

Wallet address to filter by owner or sender. Max: 1000.

check_whitelist?boolean

Check if wallet address is in whitelist.

limit?integer

Limit number of queried rows. Use with offset to batch read.

offset?integer

Skip first N rows. Use with limit to batch read.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v3/vesting"
{
  "address_book": {
    "property1": {
      "domain": "string",
      "interfaces": [
        "string"
      ],
      "user_friendly": "string"
    },
    "property2": {
      "domain": "string",
      "interfaces": [
        "string"
      ],
      "user_friendly": "string"
    }
  },
  "vesting_contracts": [
    {
      "address": "string",
      "cliff_duration": 0,
      "owner_address": "string",
      "sender_address": "string",
      "start_time": 0,
      "total_amount": "string",
      "total_duration": 0,
      "unlock_period": 0,
      "whitelist": [
        "string"
      ]
    }
  ]
}
{
  "code": 0,
  "error": "string"
}