Events

Distinguish between reading historical event logs and listening to real-time activity, and implement both using the VeChain SDK and WebSockets.

Beginner

15 minutes

Transaction Receipts, Event Logs (outputs), WebSockets, Real-time Subscriptions, DPoS Consensus.

Prerequisites

Familiarity with the ThorClient and basic JavaScript

Mastering On-Chain Events 📡

Blockchain applications need to know what happened and when [1]. In this series, you'll learn how to "listen" to the VeChainThor blockchain to power reactive dashboards and backends.

Skills the Learner Will Acquire:

  • Retrieving event logs from transaction receipts.

  • Setting up real-time WebSocket subscriptions.

  • Filtering transfer events by sender or recipient.