Search...

⌘K

Track VET Transfers

Query and filter native VET transfers to build analytics tools like transaction heatmaps and portfolio trackers.

Beginner

15 minutes

Native vs. ERC-20 tokens, Transfer Logs, Pagination (Offset/Limit), BigInt decoding, and DPoS Consensus.

Prerequisites

Basic JavaScript/TypeScript and the VeChain SDK installed.

Tracking Native VET Transfers 💸

In this series, you will learn how to monitor the "cash flow" of the VeChainThor network. We will dive into how native VET movements differ from smart contract tokens and how to filter them using the VeChain SDK.

Skills the Learner Will Acquire:

  • Differentiating between native currency and smart contract tokens.

  • Implementing the logs.filterTransferLogs method.

  • Filtering data by sender, recipient, and transaction origin.

  • Decoding native currency amounts (wei to VET).