Vesting
⚠️ Validado on-chain (com ressalvas de modelo)
Suite adv-write — deploy validado on-chain.transfer_ownershipnão se aplica (UrblockVesting usa beneficiary, não Ownable).
Gerada automaticamente do spec OpenAPI da API (fonte de verdade). 7 endpoint(s).
List vesting
GET /v1/vesting
List all vesting schedules
Auth: api-key
Respostas: 200, 401
Deploy vesting
POST /v1/vesting
Deploy a new vesting schedule contract
Auth: api-key
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 201, 400, 401
Get vesting
GET /v1/vesting/{id}
Get vesting schedule details
Auth: api-key
Path params: id
Respostas: 200, 401, 404
Get vesting on-chain state
GET /v1/vesting/{id}/on_chain
Get all on-chain vesting parameters including cliff and token
Auth: api-key
Path params: id
Respostas: 200, 401, 404
Release vested tokens
POST /v1/vesting/{id}/release
Release vested tokens to the beneficiary
Auth: api-key
Path params: id
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 201, 401, 404
Transfer vesting ownership
POST /v1/vesting/{id}/transfer_ownership
Transfer ownership of the vesting contract to a new address
Auth: api-key
Path params: id
Request body:
| Campo | Tipo | Obrigatório | Descrição |
|---|
Respostas: 201, 401, 404
Get vested amount
GET /v1/vesting/{id}/vested
Get vested amount at a specific timestamp
Auth: api-key
Path params: id
Respostas: 200, 401, 404