DECIPHRfi Academy

อ่านข้อมูลบนเชน

ใช้ block explorer เพื่อตรวจสอบวอลเล็ต โทเคน หรือธุรกรรมใด ๆ ด้วยตัวคุณเอง

บทเรียน
7
การอ่าน
50 นาที
แบบทดสอบ
15 คำถาม
คะแนนผ่าน
80%
  1. 1block explorer คืออะไรblock explorer คืออะไร และทำอะไรได้บ้าง6 นาที
  2. 2การอ่านหน้าธุรกรรมจะอ่านธุรกรรมบน block explorer ได้อย่างไร8 นาที
  3. 3การโอนโทเคนและ logsทำไมการชำระเงินด้วยโทเคนจึงแสดงเป็น 0 ETH บน block explorer8 นาที
  4. 4การตรวจสอบกระเป๋าเงินคุณตรวจสอบกระเป๋าเงินคริปโตบนบล็อกเอ็กซ์พลอเรอร์ได้อย่างไร?7 นาที
  5. 5การตรวจสอบโทเคนหรือคอนแทรกต์จะตรวจสอบได้อย่างไรว่าโทเคนนั้นเป็นของจริง?7 นาที
  6. 6Bitcoin ต่างออกไปจะอ่านธุรกรรม Bitcoin บน block explorer ได้อย่างไร7 นาที
  7. 7การตรวจสอบการชำระเงิน: กรณีของ Brindlecoveคุณจะตรวจสอบได้อย่างไรว่าการชำระเงินคริปโตที่มีคนบอกว่าส่งไปแล้ว มาถึงจริงหรือไม่7 นาที

กรณีศึกษาที่ใช้ในโมดูลนี้

แต่ละโมดูลมีเรื่องราวของ Brindlecove ที่สร้างขึ้นเอง รายละเอียดจึงอาจต่างกันไปในแต่ละโมดูล

คำสำคัญ

Block explorer
เว็บไซต์ที่ค้นหาข้อมูลสาธารณะของบล็อกเชน และแสดงธุรกรรม ที่อยู่ บล็อก และโทเคนในรูปแบบที่อ่านได้ โดยไม่สามารถเปลี่ยนแปลงเชนได้12
Transaction hash
รหัสเฉพาะของธุรกรรมแต่ละรายการ ใช้สำหรับค้นหาธุรกรรมนั้น เรียกอีกอย่างว่า transaction ID หรือ txid34
Block confirmation
จำนวนที่บ่งบอกว่าธุรกรรมถูกฝังลึกลงในบล็อกเชนมากเพียงใด บล็อกใหม่ที่ต่อด้านบนแต่ละบล็อกจะเพิ่มหนึ่งการยืนยัน ยิ่งมีการยืนยันมาก ธุรกรรมก็ยิ่งเชื่อถือได้มากขึ้น35
Gas used
จำนวนหน่วยแก๊สที่ธุรกรรมใช้จริง block explorer จะนำค่านี้คูณกับราคาแก๊สเพื่อแสดงค่าธรรมเนียม3
Effective gas price
ราคาต่อหน่วยแก๊สที่จ่ายจริง ได้แก่ base fee บวกกับ tip6
Input data
ข้อมูลเพิ่มเติมที่ส่งไปพร้อมธุรกรรม ส่วนใหญ่คือการเรียกฟังก์ชันของสมาร์ทคอนแทร็กต์7
Method ID
4 ไบต์แรกของ input data ใช้ระบุว่าจะเรียกฟังก์ชันใดของสัญญา เรียกอีกอย่างว่า function selector89
Event log
บันทึกที่สมาร์ทคอนแทร็กต์เขียนขณะทำงาน เพื่อให้แอปภายนอกเชนอ่านได้ block explorer แสดง log ในแท็บ Logs10
Transfer event
log ที่สัญญาโทเคน ERC-20 ต้องเขียนทุกครั้งที่มีการโอนโทเคน ประกอบด้วย from, to และ value11
Internal transaction
ETH ที่ถูกโอนโดยสมาร์ทคอนแทร็กต์ เป็นส่วนหนึ่งของธุรกรรมที่คนอื่นเป็นผู้เริ่ม1213
Decimals
การตั้งค่าของโทเคนที่กำหนดตำแหน่งจุดทศนิยม นำตัวเลขดิบหารด้วย 10 ยกกำลังค่า decimals เพื่อให้ได้จำนวนที่ผู้ใช้เห็น1411
Public name tag
ชื่อที่ block explorer แสดงไว้ข้างที่อยู่ ชื่อนี้มาจาก explorer ไม่ได้มาจากตัวเชน15
Verified contract
สัญญาที่ซอร์สโค้ดซึ่ง explorer ตรวจสอบแล้วว่าคอมไพล์ได้เป็นโค้ดเดียวกับที่อยู่บนเชน ไม่ได้หมายความว่าสัญญานั้นปลอดภัย1617
Token approval
สิทธิ์ที่คุณให้แอปใช้โทเคนของคุณได้ block explorer สามารถแสดงรายการการอนุมัติและช่วยคุณยกเลิกได้1819
UTXO
unspent transaction output คือจำนวน bitcoin ที่รอการใช้จ่ายโดย input ในธุรกรรมถัดไป4
Change output
output ที่ส่งเงินทอนของการชำระ Bitcoin กลับไปยังผู้ส่ง20
แหล่งที่มา
  1. What is a Block Explorer?. Etherscan Information Center, 9 April 2026, updated 4 August 2026.
  2. How to refund a Transaction?. Etherscan Information Center, 27 November 2019, updated 21 June 2026.
  3. What is a Transaction Hash (Txn hash)?. Etherscan Information Center, 5 December 2019, updated 21 June 2026.
  4. Transactions (Bitcoin Developer Guide). Bitcoin Developer Documentation (developer.bitcoin.org).
  5. Payment Processing: Verifying Payment (Bitcoin Developer Guide). Bitcoin Developer Documentation (developer.bitcoin.org).
  6. JSON-RPC API. ethereum.org developer docs, page updated 28 June 2026.
  7. Understanding Transaction Input Data. Etherscan Information Center, 2 May 2023, updated 21 June 2026.
  8. Method ID. Etherscan Information Center, 25 September 2023, updated 21 June 2026.
  9. Transactions. ethereum.org developer docs, page updated 7 October 2026.
  10. Event Logs. Etherscan Information Center, 21 September 2023, updated 22 September 2026.
  11. ERC-20: Token Standard. Ethereum Improvement Proposals (Fabian Vogelsteller, Vitalik Buterin), created 19 November 2015, status Final.
  12. Understanding an Ethereum Transaction. Etherscan Information Center, 24 August 2020, updated 21 June 2026.
  13. User FAQs. Blockscout documentation.
  14. ERC-20. OpenZeppelin Contracts 5.x documentation.
  15. Public Name Tags, Labels & Public Notes. Etherscan Information Center, 7 February 2021, updated 21 June 2026.
  16. Verifying smart contracts. ethereum.org developer docs, page updated 22 October 2025.
  17. Explore a Contract Address on Etherscan. Etherscan Information Center, 11 March 2020, updated 21 June 2026.
  18. Explore an EOA Address on Etherscan. Etherscan Information Center, 31 December 2019, updated 21 June 2026.
  19. How to revoke smart contract access to your crypto funds. ethereum.org guide, page updated 6 June 2026.
  20. Mastering Bitcoin, 3rd edition, chapter 2: How Bitcoin Works. Andreas M. Antonopoulos and David A. Harding (CC BY-SA 4.0), GitHub, December 2023.