How to Check a Transaction and Contract Balance on BscScan
บันทึกบน blockchain ตรวจสอบได้อย่างอิสระ หากส่งธุรกรรมไปยัง BNB Smart Chain คุณสามารถค้นหาใน BscScan ด้วยแฮชธุรกรรม และตรวจสอบสินทรัพย์ที่อยู่ในที่อยู่ของ smart contract ได้
The key is to read the data correctly. A Success 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.
บทความนี้มีวัตถุประสงค์เพื่อการศึกษาเท่านั้น ไม่ใช่คำแนะนำทางการเงินและไม่รับประกันความปลอดภัยของโครงการ สัญญา หรือธุรกรรมใด
สิ่งที่คุณต้องใช้
เตรียมตัวระบุอย่างใดอย่างหนึ่งต่อไปนี้:
- 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.
คุณไม่ต้องเชื่อมต่อกระเป๋าเงินเพื่อดูข้อมูลสาธารณะใน BscScan ห้ามป้อนวลีกู้คืนหรือคีย์ส่วนตัวโดยเด็ดขาด เพราะ BscScan ไม่ต้องใช้ข้อมูลทั้งสอง
ขั้นตอนที่ 1: ค้นหาธุรกรรม
- Open bscscan.com.
- วางแฮชธุรกรรมฉบับเต็มลงในช่องค้นหา
- Open the
Transaction Detailsresult.
หากไม่มีผลลัพธ์ปรากฏ ให้ตรวจสอบว่า:
- ธุรกรรมถูกส่งบน BNB Smart Chain ไม่ใช่เครือข่ายอื่น;
- คัดลอกแฮชครบถ้วน;
- กระเป๋าเงินส่งธุรกรรมไปยังเครือข่ายจริง;
- เครื่องมือสำรวจมีเวลาเพียงพอในการจัดทำดัชนีธุรกรรมที่เพิ่งส่ง
ขั้นตอนที่ 2: อ่านช่องข้อมูลธุรกรรม
ตรวจสอบช่องเหล่านี้ตามลำดับ:
-
Status
Successmeans execution completed without a revert.Pendingmeans the transaction has not yet been included.Failedmeans 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. -
Timestamp
Confirm the date and time. BscScan can display UTC, so account for your time zone. -
From
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. -
Transaction Fee
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.
สำหรับการเรียกใช้ที่ซับซ้อน ให้ตรวจสอบเพิ่มเติม:
- Internal Txns, which shows internal calls and BNB movements involving contracts;
- Logs, which shows events emitted during execution.
ตัวอย่าง: การอ่านรายการโอน 100 USDT
สมมติว่าผู้ใช้ต้องการส่ง 100 USDT ไปยังสัญญา การตรวจสอบพื้นฐานควรยืนยันว่า:
StatusisSuccess;Frommatches the user’s address;Interacted Withmatches the intended contract;BEP-20 Tokens Transferredshows 100 units moving from the user to the intended address;- ที่อยู่สัญญาโทเคน USDT ตรงกับที่อยู่ USDT อย่างเป็นทางการสำหรับ 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 Success status.
ขั้นตอนที่ 3: ตรวจสอบยอดคงเหลือของสัญญา
- วางที่อยู่สัญญาอย่างเป็นทางการลงใน BscScan
- ยืนยันที่อยู่แบบเต็มในหน้าผลลัพธ์
- Read BNB Balance for native BNB held at the address.
- Open Token Holdings to inspect BEP-20 assets.
- Locate a specific token by its contract address and check the amount.
“ยอดคงเหลือของสัญญา” ไม่ใช่ตัวเลขเดียวที่ใช้ได้กับทุกกรณี:
- ยอดคงเหลือ BNB และ USDT แยกจากกัน;
- ที่อยู่หนึ่งสามารถถือโทเคนได้หลายรายการ รวมถึงโทเคนสแปมที่ไม่ได้ร้องขอ;
- ระบบอาจใช้ที่อยู่สัญญาหรือคลังหลายรายการ;
- สินทรัพย์อาจย้ายไปยังที่อยู่อื่นในภายหลัง;
- ยอดคงเหลือปัจจุบันไม่ได้แสดงภาระผูกพันทั้งหมดหรือว่าใครมีสิทธิ์ทางเศรษฐกิจในสินทรัพย์
For a more direct BEP-20 check, open the exact token contract, select Contract → Read Contract, 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.
คำว่า “Verified” หมายถึงอะไร
ใน BscScan การยืนยันซอร์สโค้ดของสัญญามีหลายระดับ:
- 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.
การยืนยันช่วยให้ตรวจสอบโค้ดได้ง่ายขึ้น แต่ไม่ใช่การตรวจสอบความปลอดภัยและไม่ได้พิสูจน์ว่าโค้ดไม่มีช่องโหว่
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.
สิ่งที่ BscScan ยืนยันได้และยืนยันไม่ได้
BscScan ช่วยยืนยันได้ว่า:
- ธุรกรรมถูกรวมไว้ในบล็อก;
- ที่อยู่หนึ่งเรียกใช้อีกที่อยู่หนึ่ง;
- สัญญาส่งออก log บางรายการ;
- ที่อยู่หนึ่งมียอด BNB หรือโทเคนจำนวนหนึ่งในปัจจุบัน;
- ซอร์สโค้ดที่เผยแพร่ตรงกับ bytecode ตามระดับการยืนยันที่ระบุ
สิ่งนี้เพียงอย่างเดียวไม่ได้ยืนยันว่า:
- ใครเป็นเจ้าของหรือควบคุมที่อยู่;
- ว่าโทเคนเป็นของแท้โดยดูจากชื่อ;
- ว่าผู้ดูแลระบบไม่มีอำนาจที่เป็นอันตราย;
- ว่าโค้ดไม่มีช่องโหว่;
- ว่ามีสภาพคล่อง;
- ว่า frontend จะพร้อมใช้งานต่อไป;
- ว่าจะได้รับเงินคืนหรือสร้างผลตอบแทน
รายการตรวจสอบขั้นสุดท้าย
- ฉันพบแฮชบน BNB Smart Chain แล้ว
- I compared the complete
FromandTo / Interacted Withaddresses. - ฉันได้ยืนยันที่อยู่สัญญาโทเคนแล้ว
- I distinguished native
Value, BEP-20 movement, and gas fee. - I reviewed
Internal TxnsandLogswhere relevant. - ฉันได้ตรวจสอบ BNB และโทเคนที่จำเป็นแต่ละรายการแยกกันแล้ว
- สำหรับพร็อกซี ฉันได้ตรวจสอบ implementation และอำนาจในการอัปเกรดแล้ว
- My conclusion relies on several fields, not only
Success.
แหล่งข้อมูลและเนื้อหาอ่านเพิ่มเติม
- BscScan Information Center — การดูธุรกรรม
- BscScan Information Center — ทำความเข้าใจธุรกรรม
- BscScan Information Center — ประเภทการยืนยันสัญญา
- BscScan Information Center — ทำความเข้าใจหน้าโทเคน
- BscScan Information Center — โทเคน BEP-20 คืออะไร?
- BNB Chain Docs — บทนำ BNB Smart Chain