Developer Fundamentals
-- VI. VET Transfers
Learn how to access native VET token transfers on VeChainThor using logs.filterTransferLogs, including how to filter by sender, recipient, and origin address.
Accessing VET Transfers
The VeChain token (VET) does not have a contract tied to it, so its transfers must be accessed from a different source.
Use logs.filterTransferLogs
Using logs.filterTransferLogs provides access to VET transfers, with the same filter options, but the criteriaSet is specifically tailored for transfer events.
Each criterion may include:
recipient: the address that receives VET
txOrigin: the address that initiated the transfer transaction
sender: the address that sent the VET
A sample request with all filters would appear as follows:
Join our Telegram