How-to for developers · Tokens and stablecoins

Enact Global Freeze

In plain words

This tutorial shows a token issuer how to start and end a Global Freeze. While it is on, users cannot send your tokens to each other or trade them in the decentralized exchange. They can still send the tokens directly back to the issuer.

Written by zerps in plain words, from the source linked below.
Section
Tutorials

What you will do

You turn on the Global Freeze with an AccountSet transaction, confirm it, and later turn it off again. The freeze affects all tokens issued by the address. It applies only to issued tokens, not XRP.

What you need

You need a connection to the XRP Ledger network, an address, a secret key and some XRP. The examples use JavaScript with the xrpl.js library. You need the keys to the issuer's address, which is the cold address if you keep separate cold and hot addresses. Unlike the No Freeze setting, a Global Freeze can be switched with a regular key pair or multi-signing.

The steps in short

Get credentials and connect to the network. Send an AccountSet transaction with a SetFlag field that holds the asfGlobalFreeze value, which is 7. It may take 4 to 7 seconds for the outcome to be final. Call the account_info method and check the account's Flags field to see that the lsfGlobalFreeze bit is on. To end the freeze, send an AccountSet transaction with a ClearFlag field holding the same value. Wait again, then check that the bit is off.

While the freeze lasts

Frozen tokens can still be sent directly to or directly from the issuer. An operational address has no special status, so it can only move the frozen tokens when dealing directly with the issuer. You might use the time to take a snapshot of the balances of your token.

Good to know

If you also use the No Freeze setting, you cannot undo a Global Freeze and it continues forever. To resume issuing tokens you would have to create a new account and start over.

Source: xrpl.org. Read 6 December 2026.

Zerpedia states what the source says, in plain words, and gives no opinion. How Zerpedia is made

zerps Trading tokens on the XRP Ledger carries risk, including total loss. zerps is a self-custodial interface; it does not hold funds, give advice, or execute trades on your behalf.