Lock assets
Lock assets into the vesting contract
application/json
Request Body required
sender string required
Sender's bech32 address
beneficiary string required
Beneficiary's bech32 address
asset_policy_id string required
Asset policy ID of the asset to be locked
asset_token_name string required
Asset policy token name of the asset to be locked
total_vesting_quantity number required
Total amount of the asset to be locked
vesting_period_start number required
Vesting period start in UNIX time (seconds)
vesting_period_end number required
Vesting period end in UNIX time (seconds)
first_unlock_possible_after number required
Valid initial unlock period start in UNIX time (seconds)
total_installments number required
Number of vesting installments used to collect vested assets
Responses
- 200
- 400
Unsigned transaction created successfully
application/json
Schema
Example (from schema)
Schema
cbor_hex string
tx_hash string
{
"cbor_hex": "string",
"tx_hash": "string"
}
Bad Request. Invalid request body provided.
Loading...