The token-freeze
command in Mintlayer allows the token authority to freeze all operations related to a specific token. This includes halting transfers, spends, and any other operations with the token. Note that the wallet (and the selected account within it) must possess the authority keys to execute this command.
Irreversible Action: If a token is set as
not-unfreezable
frozen, this action is permanent and cannot be reversed.
Note: To freeze a token on the Mintlayer Blockchain, 50 ML tokens are required to be burned. This amount will be automatically subtracted from your balance by the wallet.
token-freeze <TOKEN_ID> <IS_UNFREEZABLE>
<TOKEN_ID>
: The identifier of the token to be frozen.<IS_UNFREEZABLE>
: Determines whether the token can be unfrozen in the future. Possible values are:
not-unfreezable
: Permanently freezes the token, with no option to unfreeze later.unfreezable
: Freezes the token with the option to unfreeze it later.-h, --help
: Displays help information about the token-freeze
command.Freezing a Token:
To freeze a token with ID tmltk1v6p95hcdft3fmg93kcp6k8r63mt769wh8huf3cmke2dvevyukckq0wcaqt
and allow for the possibility of unfreezing it later, the command would be:
token-freeze tmltk1v6p95hcdft3fmg93kcp6k8r63mt769wh8huf3cmke2dvevyukckq0wcaqt unfreezable
Executing this command will freeze all operations for the specified token, with the option to unfreeze it in the future.