POST
/
contracts
/
vesting
/
lock
Lock assets
curl --request POST \
  --url https://mainnet.gomaestro-api.org/v1/contracts/vesting/lock \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "sender": "addr_test1vqade9vdg4uj3gsc5zfmmyavfd5tpssyxn4m7c4slzlxddcmxc00w",
  "beneficiary": "addr_test1vpvz8req5wn4serhfsg9ha9wg7rf7jsr5hels2llkacq5gcq4utja",
  "asset_policy_id": "fb2b3a629a09014e28d0a54fc06499af12127c79b0bc1c39478da1dd",
  "asset_token_name": "7449534b59",
  "total_vesting_quantity": 1000000,
  "vesting_period_start": 1690304810,
  "vesting_period_end": 1690391304,
  "first_unlock_possible_after": 1690304810,
  "total_installments": 4
}'
{
  "cbor_hex": "<string>",
  "tx_hash": "<string>"
}

Authorizations

api-key
string
header
required

Project API Key

Body

application/json

Response

202
application/json

Unsigned transaction created successfully

The response is of type object.