跳到正文
DEV Community· Veriql Team·· 2 小時前AI 評分60

Agent 發送 USDT 前,先檢查 Tether 是否凍結收款地址

Before your agent sends USDT, check whether Tether froze the address

AI 導讀

Veriql 團隊介紹 Agent 發送 USDT 前檢查收款地址是否遭 Tether 凍結的方法,並提供手動查詢及 Veriql API。Tether 凍結地址後仍會接受轉帳,收到的 USDT 會被鎖住;Circle 的 USDC 合約則會拒絕向黑名單地址轉帳。文章亦列出按次付費的 x402 API,可檢查凍結、OFAC SDN 名單及交易能否完成。

正文

Veriql Team

Disclosure: this post is from the Veriql team. Veriql is the API in the examples; the by-hand check works without it.

Agents now move real money: they pay invoices, run payouts and settle with suppliers, often in USDT on Tron or Ethereum. Most guides to agent payments screen the recipient against the OFAC sanctions list. That misses a separate list that matters more for USDT: Tether's own blacklist.

What a Tether freeze does

  • Tether can add any address to the blacklist in the USDT contract. From then on, that address can't send USDT.
  • Transfers to a frozen address still go through. USDT your agent sends there stays locked unless Tether lifts the freeze, which is rare, and Tether can later destroy it.
  • Circle's USDC behaves differently. Its contract rejects transfers to a blacklisted address, so the payment fails instead of getting stuck.
  • Tether's blacklist and the OFAC SDN list are different lists. Passing a sanctions screen tells you nothing about a Tether freeze, and the reverse is also true.

Check by hand (free)

  • Ethereum: on Etherscan, open the USDT contract 0xdAC17F958D2ee523a2206206994597C13D831ec7, go to Read Contract, and call isBlackListed with the address.
  • Tron: on Tronscan, open TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t, go to Read Contract, and call isBlackListed.
  • Or paste the address into the free checker at https://veriql.app/usdt-freeze-checker.

Check from the agent, per call

An agent shouldn't be clicking around Etherscan. Veriql serves the same checks as x402 endpoints. The agent pays per call in USDC on Base, Polygon, Arbitrum, Avalanche or Solana, with no account or API key.

curl -i "https://veriql.app/api/v1/payee?address=<recipient>"
# HTTP/1.1 402 Payment Required, with the price and payment details.
# Any x402 client pays it and retries the request automatically.
Before your agent… Call Price What it checks
pays an address GET /api/v1/payee?address= $0.01 Tether and Circle freezes, OFAC SDN, known drainers and phishing (EVM, Tron, Solana, Bitcoin)
sends USDT GET /api/v1/send?from=&to=&amount= $0.01 whether the transfer will go through: sender frozen, account not activated, not enough USDT, not enough TRX or ETH for fees
runs a payout batch POST /api/v1/batch-screen $0.05 up to 50 addresses in one call: do_not_pay, no_known_risk or incomplete for each
sends, swaps or signs POST /api/v1/preflight $0.05 all of the above in one call: ALLOW, WARN or BLOCK
pays another x402 service POST /api/v1/x402-seller-check $0.04 reads that service's 402 and screens every wallet it asks to be paid at: GO, CAUTION or STOP
keeps receiving USDT from the same addresses POST /api/v1/freeze-watch $1 watches up to 100 Ethereum or Tron addresses for 30 days, with a signed webhook about 30 minutes after a new freeze

The full list is in the manifest at https://veriql.app/.well-known/x402, and the docs are at https://veriql.app/api.

Make it a rule, not a habit

  • Check right before the payment. Don't rely on a result from last week.
  • Fail closed. If the check can't run, don't pay.
  • Keep watching. An address that's clean today can be frozen tomorrow. For counterparties you pay or accept from again and again, watch them instead of checking once.

Don't want x402?

  • Prepaid credits with an API key: https://veriql.app/api has a free tier of 250 credits.
  • MCP: veriql-mcp is on npm and in the Official MCP Registry.

Veriql is read-only. It never asks for keys, can't move funds, and can't unfreeze anything.

來源:DEV Community · dev.to