How to verify a BEP-20 USDT transaction
A transaction hash alone does not prove you were paid. To be sure, you check that it succeeded, that it moved USDT (not another token), that it went to your address, for the right amount, and that it has enough confirmations.
What to check
A transaction hash proves a transaction exists. It does not prove you were paid. Before you treat it as a payment, check all of these:
- It succeeded. A failed transaction can still have a hash.
- It moved USDT. The transfer event must come from the USDT contract, not from another token with a similar name.
- It went to your address.
- The amount is right. USDT on BNB Smart Chain has 18 decimals.
- It has enough confirmations. OpenBCP waits for 3.
The key values
| USDT contract (BEP-20) | 0x55d398326f99059fF775485246999027B3197955 |
| Decimals | 18, so divide the raw amount by 1018 |
| Transfer event topic | 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef |
Check by hand on BscScan
- Open the transaction on BscScan.
- Confirm the status says Success.
- In Token Transfers, confirm USDT was sent to your address and read the amount.
- Check the number of block confirmations shown on the page.
Check in code
This Python example reads the receipt through a JSON-RPC node and returns the USDT transfers in a transaction, or nothing if it failed or is not yet final.
import requests
RPC = "https://YOUR-BSC-RPC-ENDPOINT"
USDT = "0x55d398326f99059ff775485246999027b3197955"
TRANSFER = "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
def rpc(method, params):
r = requests.post(RPC, json={"jsonrpc": "2.0", "id": 1, "method": method, "params": params}, timeout=15)
r.raise_for_status()
return r.json()["result"]
def usdt_transfers(txid, min_confirmations=3):
receipt = rpc("eth_getTransactionReceipt", [txid])
if not receipt or receipt["status"] != "0x1":
return None # unknown or failed transaction
confirmations = int(rpc("eth_blockNumber", []), 16) - int(receipt["blockNumber"], 16) + 1
if confirmations < min_confirmations:
return None # not final yet
out = []
for log in receipt["logs"]:
if log["address"].lower() == USDT and log["topics"][0] == TRANSFER:
out.append({
"from": "0x" + log["topics"][1][-40:],
"to": "0x" + log["topics"][2][-40:],
"amount": int(log["data"], 16) / 10**18,
"confirmations": confirmations,
})
return out
Compare each to value with your address and each amount with what you expected. Public RPC endpoints are rate limited, so use your own provider key for anything beyond a quick test.
Or let OpenBCP do it
Writing and running this yourself means watching the chain, handling retries and reorganisations, and matching transfers to orders. OpenBCP does that and sends a signed webhook when an invoice is paid. See the USDT checkout overview and webhook verification.
Frequently asked questions
What is the USDT contract address on BNB Smart Chain?
0x55d398326f99059fF775485246999027B3197955. It has 18 decimals, so divide the raw amount by 10^18.
How many confirmations should I wait for?
OpenBCP waits for 3. More confirmations make a reorganisation less likely, at the cost of waiting longer.
Can I check this on BscScan?
Yes. Open the transaction, check that the status is Success, and look in the Token Transfers section for USDT sent to your address.
Do I have to do this myself?
No. OpenBCP watches the chain for you and sends a signed webhook when an invoice is paid. This guide is for understanding or for building your own checks.