Managed Contracts API
Vesting

Lock assets

1min
POST
https://mainnet.gomaestro-api.org/v1/contracts/vesting/lock
Cardano Mainnet
Lock assets into the vesting contract
Authentication
api-key
Body Parameters
body
*
Example
{"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}
sender
*
beneficiary
*
asset_policy_id
*
asset_token_name
*
total_vesting_quantity
*
vesting_period_start
*
vesting_period_end
*
first_unlock_possible_after
*
total_installments
*
Responses
200
Unsigned transaction created successfully
cbor_hex
tx_hash
400
Bad Request. Invalid request body provided.