lock_asset

@mount("ft4.test.lock_asset") operation lock_asset(type: text, account_id: byte_array, asset_id: byte_array, amount: big_integer)(source)

Operation to lock a specific amount of a specific asset from a specific account.

Parameters

type

the type of lock account to use

account_id

the account from which to lock the assets

asset_id

the id of the asset to lock

amount

how much of the asset to lock