ACCOUNT_TYPE_LOCK

val ACCOUNT_TYPE_LOCK: text = "FT4_LOCK"(source)

When an account entity has this as its type field, it is a lock account

A lock account is like a safe where tokens are put when the users should not be able to access them. This is useful, for example, when the users have staked those tokens or they are participating in an auction where they have put a bid for a certain amount of tokens.

In both cases, the users are still the owners of the assets, but they're not allowed to use them.

An account_link entity is created that holds the relevant information:

  • account: the account that owns the asset

  • secondary: the lock account

  • type: the purpose of the locking (e.g. "staking", or "auction")

See also

accounts.linking.account_link

for information on account linking