get_lock_account_id

function get_lock_account_id(account: account, type: text): byte_array(source)

Computes the id that the lock account will have given the account and the type.

Parameters

account

the account that is going to be using this lock account

type

the type of the lock account for which to derive the id

See also

ACCOUNT_TYPE_LOCK

for more information on lock accounts