如何讀取 Tether 的 TRON 多簽提案,辨識 USDT 凍結目標地址
Reading Tether's TRON multisig: USDT freezes are public before they land
FreezeCheck 作者展示如何透過 TronGrid 公開 API 解碼 Tether 在 TRON 上的 USDT 多簽提案,並在第二名簽署者確認前讀取目標地址。
When Tether freezes a USDT address on TRON, most tools learn about it from one event: AddedBlackList on the USDT contract. By the time that event fires, the address can no longer send USDT.
But the freeze does not start there. It starts minutes, sometimes days, earlier, as a public transaction in a 2-of-3 multisig wallet, with the target address sitting in plain view in the call data. This post shows how to read that multisig with nothing but the public TronGrid API, what we found when we measured every freeze for a year, and how we use it in FreezeCheck, a free AML checker for TRON USDT wallets.
How a freeze actually happens
The USDT contract on TRON is TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t. Its owner is not a single key but a multisig wallet, TBPxhVAsuzoFnKyXtc1o2UySEydPHgATto. It is a classic Gnosis-style MultiSigWallet that needs 2 of its 3 owners to execute anything.
A freeze goes through three steps:
-
Submit. One owner calls
submitTransaction(destination, value, data)on the multisig.destinationis the USDT contract,valueis 0, anddatais an encoded call toaddBlackList(address). The multisig emitsSubmission(transactionId)and, because the submitter's signature counts,Confirmation(owner, transactionId). -
Confirm. A second owner calls
confirmTransaction(transactionId). That is the second signature. -
Execute. The 2-of-3 threshold is now met, so in the same transaction the multisig calls the USDT contract. The multisig emits
Execution(transactionId)and the USDT contract emitsAddedBlackList(_user).
From step 3 on, isBlackListed(address) returns true and the contract rejects every outgoing transfer from that address. Incoming transfers still go through. The contract only checks the sender, which matters later.
The point is step 1. A submitTransaction is an ordinary on-chain transaction. Anyone can fetch it, decode the nested call and read the target address before the second owner signs.
Unfreezes (removeBlackList) and balance burns (destroyBlackFunds) go through the same multisig, so the same decoder covers them too.
Decoding a proposal in ~40 lines of Python
TronGrid gives you two things for free, no API key needed for light use:
-
GET /v1/contracts/{address}/events?event_name=Submissionreturns the multisig's proposal events, with thetransactionId(the multisig's internal counter) and the TRON transaction hash. -
POST /wallet/gettransactionbyidreturns the raw transaction, including the call data sent to the multisig.
The call data is standard ABI encoding: a 4-byte selector for submitTransaction(address,uint256,bytes) (c6427474), then three 32-byte head slots (destination, value, offset of data), then the length of data and the bytes themselves. Inside data is another selector, 0ecb93c0 for addBlackList(address), followed by one left-padded 20-byte address. TRON addresses are those 20 bytes with a 0x41 prefix, Base58Check-encoded.
import hashlib
import requests
API = "https://api.trongrid.io"
MULTISIG = "TBPxhVAsuzoFnKyXtc1o2UySEydPHgATto" # owner of the USDT contract, 2 of 3
SUBMIT = "c6427474" # submitTransaction(address,uint256,bytes)
CALLS = {"0ecb93c0": "addBlackList", "e4997dc5": "removeBlackList",
"f3bdc228": "destroyBlackFunds"}
def to_base58(hex20: str) -> str:
raw = bytes.fromhex("41" + hex20)
raw += hashlib.sha256(hashlib.sha256(raw).digest()).digest()[:4]
n, out = int.from_bytes(raw, "big"), ""
alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"
while n:
n, r = divmod(n, 58)
out = alphabet[r] + out
return out
def decode(calldata: str):
"""submitTransaction(dest, value, data) -> (method, target) or None."""
h = calldata.lower().removeprefix("0x")
if not h.startswith(SUBMIT):
return None
body = h[8:]
off = int(body[128:192], 16) * 2 # offset of the `bytes data` argument
size = int(body[off:off + 64], 16) * 2
inner = body[off + 64:off + 64 + size] # selector + one padded address
method = CALLS.get(inner[:8])
return (method, to_base58(inner[-40:])) if method else None
events = requests.get(
f"{API}/v1/contracts/{MULTISIG}/events",
params={"event_name": "Submission", "limit": 5, "order_by": "block_timestamp,desc"},
timeout=30,
).json()["data"]
for ev in events:
tx = requests.post(f"{API}/wallet/gettransactionbyid",
json={"value": ev["transaction_id"]}, timeout=30).json()
data = tx["raw_data"]["contract"][0]["parameter"]["value"].get("data", "")
print(ev["result"]["transactionId"], ev["block_timestamp"], decode(data))
Run it and you get the latest proposals: the multisig's transaction id, a timestamp and something like ('addBlackList', 'T...'). In production we add three checks the snippet skips: the destination must be the USDT contract, the inner call must be exactly 36 bytes, and anything else is classified as "other" rather than guessed.
To check whether a proposal has executed yet, ask the contract directly. isBlackListed is a constant call, so it costs nothing:
curl -s -X POST https://api.trongrid.io/wallet/triggerconstantcontract \
-H 'Content-Type: application/json' \
-d '{
"owner_address": "TBPxhVAsuzoFnKyXtc1o2UySEydPHgATto",
"contract_address": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"function_selector": "isBlackListed(address)",
"parameter": "000000000000000000000000<20-byte hex address without the 41 prefix>",
"visible": true
}'
# constant_result ends in ...01 if frozen, ...00 if not
Joining proposals to freezes
To measure the gap between the first signature and the freeze, you need to link each AddedBlackList back to its Submission. The link is the transaction hash:
- The freeze transaction contains both
AddedBlackList(_user)from USDT andExecution(transactionId)from the multisig, under the sametransaction_id. -
Execution.transactionIdis the multisig's proposal id. -
Submissionwith that id gives the proposal time and hash.
So the join is AddedBlackList.tx == Execution.tx -> id -> Submission.time. We pull all four event streams (Submission, Confirmation, Execution on the multisig, AddedBlackList on USDT) from TronGrid's events endpoint, page through with the fingerprint cursor, and fetch submissions with a 30-day margin before the window, because a proposal can be much older than its execution.
Two practical notes if you build this yourself:
- TronGrid's event API is paginated at 200 per page and rate-limits anonymous clients, so back off on non-200 responses instead of retrying in a tight loop.
- For live use, events from unconfirmed blocks can disappear. We only drop a pending proposal after it has been missing from two polls in a row, and we reconcile every 10 minutes against
AddedBlackListin case anExecutionevent was missed.
What a year of freezes looks like
We ran this over every AddedBlackList event from November 4, 2025, to November 7, 2026: 4,221 events covering 4,199 addresses. All 4,221 matched a multisig proposal, each with exactly two confirmations.
- Median gap: 9.7 minutes from the public proposal to the freeze.
- 1,257 freezes (30 %) waited more than an hour; 338 more than six hours; 35 more than a day.
- The longest window was 167 hours, almost seven days.
Then we read every USDT transfer to and from the 3,476 addresses still frozen on November 8, 2026 (1.42 million transfers, from the full USDT stream via SQD Portal) and compared outflows inside the window with an interval of the same length right before the proposal. Inside the window, 219 addresses sent out 65.4 million USDT; in the equal interval before, 177 addresses sent 27.9 million. That is 2.3 times more. A transfer inside the window does not prove its sender saw the proposal, which is exactly why the baseline is there.
Full method, CSV with every proposal and freeze hash, and the Zenodo DOI: The signing window.
Proposals that never got a second signature
Once you index every proposal, a second question falls out: which ones never executed? We read all 11,958 transactions ever proposed in the multisig (February 2021 to November 2026) and found 47 addresses with an addBlackList proposal that has 1 confirmation of the 2 required, as of November 20, 2026. None of the 47 is frozen. 39 of them sent out 23.1 million USDT after the first signature, 13 of them within 15 minutes.
That one is written up in 47 uncompleted Tether freezes on TRON, with transaction hashes for each case.
The other half: money keeps arriving after the freeze
Because the USDT contract only checks the sender, a frozen address can still receive. From November 2025 to November 8, 2026, 1,943 senders sent 104.2 million USDT to 980 addresses that were already frozen. That money is stuck. Half of those transfers came more than 31 hours after the freeze, so this is not a race with the second signature. It is senders who never checked.
If you run anything that pays out USDT on TRON (an exchange, a payroll script, a P2P desk), the fix is the isBlackListed call above, made at signing time, not when the address was first saved. Details: $104M sent to already-frozen addresses.
How this feeds a wallet check
The multisig reader is one input in FreezeCheck. The others come from the same kind of public on-chain work:
-
Look-alike (address poisoning) detection. We scan every
Transferof the USDT contract in 7-day windows. An address counts as a look-alike if it sent a recipient a zero-value or dust transfer and matches the prefix and suffix of another address that same recipient transacted with in the same window. Over a year that gave 2,172,676 look-alikes. Write-up: address poisoning on TRON. - The money trail. Direct transfers with labeled addresses (Tether's blacklist, sanctions lists, court records, drainers, look-alike factories), the wallet's largest counterparties one hop out, and USDT followed up to 5 hops backwards and forwards and split by share.
- Behavior. Wallet age, transit patterns, who activated it, plus a logistic regression over 58 features that asks one question: does this wallet look like the ones Tether later froze?
The result is a 🟢 / 🟡 / 🔴 / ⚪ verdict with the main reason. Two numbers we publish about it, with their limits:
- 77 % in a retrospective test: one hour before the freeze, 95 of 123 wallets frozen between October 1 and November 7, 2026 were rated 🟡 or 🔴. That is coverage on past freezes, not accuracy, and there has been no independent verification yet.
- 91 % of senders to exchange deposit addresses are rated 🟢, 🔴 only 1 % (sample of 287 wallets, November 18, 2026). We don't know whether those wallets are clean, so this is not a false-positive rate.
The full method is on the methodology page.
Try it
- Pending proposals and freezes as they land: freezecheck.org/live.html.
- A TRON explorer that marks frozen, look-alike and labeled counterparties in any wallet's history: freezecheck.org/scan.
- A yes/no check before a deal, in Telegram: @freezecheck_bot. Free, no sign-up, no wallet connection.
All research data is CC BY 4.0. If you build something on top of the multisig stream, or find a case our decoder classifies as "other" that it shouldn't, I'd like to hear about it in the comments.
來源:DEV Community · dev.to
