Skip to main content
POST
Lock assets

Authorizations

api-key
string
header
required

Project API Key

Body

application/json
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

Response

Unsigned transaction created successfully

cbor_hex
string
tx_hash
string