How to Check a Transaction and Contract Balance on BscScan
Bản ghi blockchain có thể được kiểm tra độc lập. Nếu giao dịch đã được gửi lên BNB Smart Chain, bạn có thể tra cứu trên BscScan bằng mã băm giao dịch. Bạn cũng có thể kiểm tra tài sản được giữ tại một địa chỉ hợp đồng thông minh.
The key is to read the data correctly. A Thành công status means that the network executed the transaction without reverting it. It does not prove that the address belongs to the intended project, that a token is genuine, or that the transaction is safe or beneficial.
Bài viết này chỉ nhằm mục đích giáo dục. Đây không phải là tư vấn tài chính và không bảo đảm an toàn cho bất kỳ dự án, hợp đồng hay giao dịch nào.
Những gì bạn cần
Chuẩn bị một trong các mã định danh sau:
- a transaction hash (or TxHash), which identifies one transaction;
- a wallet or contract address, which identifies an account or smart contract.
Both usually begin with 0x, but they are not interchangeable. Obtain contract addresses from an official project source and compare the full string. A name or ticker is not enough: unrelated tokens may use the same name.
Bạn không cần kết nối ví để xem dữ liệu BscScan công khai. Tuyệt đối không nhập cụm từ hạt giống hoặc khóa riêng tư — BscScan không cần bất kỳ thông tin nào trong số đó.
Bước 1: Tìm giao dịch
- Mở bscscan.com.
- Dán toàn bộ mã băm giao dịch vào thanh tìm kiếm.
- Open the
Chi tiết giao dịchresult.
Nếu không xuất hiện kết quả, hãy kiểm tra rằng:
- giao dịch được gửi trên BNB Smart Chain, không phải mạng khác;
- mã băm đã được sao chép đầy đủ;
- ví đã thực sự phát giao dịch lên mạng;
- trình khám phá đã có thời gian lập chỉ mục giao dịch mới gửi.
Bước 2: Đọc các trường giao dịch
Kiểm tra các trường sau theo thứ tự:
-
Trạng thái
Thành côngmeans execution completed without a revert.Đang chờ xử lýmeans the transaction has not yet been included.Thất bạimeans execution reverted. A failed contract call normally does not complete its intended state changes, but gas used may still be charged. -
Block and confirmations
The block number identifies where the transaction was included. Confirmations count the blocks added afterwards. Services may require different confirmation counts. BNB Smart Chain has a fast-finality mechanism and a probabilistic fallback in which additional blocks increase confidence. -
Dấu thời gian
Confirm the date and time. BscScan can display UTC, so account for your time zone. -
Từ
This is the address that initiated the transaction. Compare it with the expected sender. -
To / Interacted With
For a simple transfer, this is the recipient. For a contract call, it is the contract directly called by the transaction. Compare the complete address with the project’s officially published address. -
Value
This is the native BNB sent at the top level. A BEP-20 transfer may show0 BNBhere because the token movement is displayed separately. -
BEP-20 Tokens Transferred
This section shows token transfer events, including token, sender, recipient, and amount. Verify the token contract address, not just its name, icon, or ticker. -
Phí giao dịch
This is the BNB paid for execution. It is not the transferred amount. -
Transaction Action and Input Data
When the contract interface is known, BscScan may decode the function and its parameters. Treat the human-readable summary as a useful aid and still verify addresses, amounts, and emitted events.
Đối với lệnh gọi phức tạp, hãy kiểm tra thêm:
- Internal Txns, which shows internal calls and BNB movements involving contracts;
- Logs, which shows events emitted during execution.
Ví dụ: đọc giao dịch chuyển 100 USDT
Giả sử người dùng định gửi 100 USDT đến một hợp đồng. Bước kiểm tra cơ bản cần xác nhận rằng:
Trạng tháiisThành công;Từmatches the user’s address;Interacted Withmatches the intended contract;BEP-20 Tokens Transferredshows 100 units moving from the user to the intended address;- địa chỉ hợp đồng token USDT khớp với địa chỉ USDT chính thức trên BNB Smart Chain;
Valuemay be0 BNB, while the gas fee is paid in BNB.
No single matching field is sufficient. A call to an impersonating contract can also have a Thành công status.
Bước 3: Kiểm tra số dư hợp đồng
- Dán địa chỉ hợp đồng chính thức vào BscScan.
- Xác nhận toàn bộ địa chỉ trên trang kết quả.
- Read BNB Balance for native BNB held at the address.
- Mở Token Holdings to inspect BEP-20 assets.
- Locate a specific token by its contract address and check the amount.
“Số dư hợp đồng” không phải là một con số chung duy nhất:
- Số dư BNB và USDT được tính riêng;
- một địa chỉ có thể nắm giữ nhiều token, kể cả token rác không được yêu cầu;
- một hệ thống có thể sử dụng nhiều địa chỉ hợp đồng hoặc Treasury;
- tài sản có thể được chuyển sang địa chỉ khác sau đó;
- số dư hiện tại không cho biết mọi nghĩa vụ hoặc ai có quyền lợi kinh tế đối với tài sản.
For a more direct BEP-20 check, open the exact token contract, select Hợp đồng → Đọc hợp đồng, find balanceOf, and enter the address being checked. This is a read-only query and requires no transaction or gas. The result may use the token’s smallest unit; apply the token’s decimals value to convert it to the displayed amount.
“Đã xác minh” có nghĩa gì
Trên BscScan, việc xác minh mã nguồn hợp đồng có nhiều cấp độ:
- Exact Match means the published source and constructor parameters were matched to the deployed bytecode;
- Similar Match means the bytecode matches an existing verified contract, but constructor arguments are not included in that match;
- Unverified means no matching source is published and only bytecode is available.
Việc xác minh giúp mã dễ kiểm tra hơn. Đây không phải là kiểm toán bảo mật và không chứng minh rằng mã không có lỗ hổng.
If the address is a proxy, its active logic may live in a separate implementation contract and may be changeable by an authorized upgrader. Check whether BscScan identifies a proxy, follow the implementation address, and determine who controls upgrades. Reviewing only the proxy shell gives an incomplete picture.
Những gì BscScan có thể và không thể xác nhận
BscScan có thể giúp xác lập rằng:
- một giao dịch đã được đưa vào khối;
- một địa chỉ đã gọi một địa chỉ khác;
- các hợp đồng đã phát ra những nhật ký cụ thể;
- một địa chỉ hiện có số dư BNB hoặc token nhất định;
- mã nguồn đã công bố được đối chiếu với bytecode ở cấp độ xác minh đã nêu.
Tự nó không xác lập rằng:
- ai sở hữu hoặc kiểm soát một địa chỉ;
- token là thật chỉ dựa trên tên của nó;
- quản trị viên không có các quyền nguy hiểm;
- mã không có lỗ hổng;
- thanh khoản tồn tại;
- giao diện người dùng sẽ luôn khả dụng;
- tài sản sẽ được hoàn trả hoặc tạo ra lợi nhuận.
Danh sách kiểm tra cuối cùng
- Tôi đã tìm thấy mã băm trên BNB Smart Chain.
- I compared the complete
TừvàTo / Interacted Withaddresses. - Tôi đã xác minh địa chỉ hợp đồng token.
- I distinguished native
Value, BEP-20 movement, and gas fee. - I reviewed
Internal TxnsvàLogswhere relevant. - Tôi đã kiểm tra riêng BNB và từng token cần thiết.
- Đối với proxy, tôi đã kiểm tra phần triển khai và quyền nâng cấp.
- My conclusion relies on several fields, not only
Thành công.
Nguồn và tài liệu đọc thêm
- BscScan Information Center — Xem giao dịch
- BscScan Information Center — Tìm hiểu một giao dịch
- BscScan Information Center — Các loại xác minh hợp đồng
- BscScan Information Center — Tìm hiểu trang token
- BscScan Information Center — Token BEP-20 là gì?
- BNB Chain Docs — Giới thiệu BNB Smart Chain