Account

Query any VeChain account to retrieve VET/VTHO balances, identify smart contracts, and resolve human-readable aliases using the VeChain SDK.

Beginner

15 minutes

EOA vs. Contracts, hasCode flag, VET vs. VTHO, BigInt formatting, and VNS (Aliases).

Prerequisites

Basic JavaScript knowledge and the VeChain SDK installed.

Mastering VeChain Accounts 🔍

Welcome to the lab! In this series, you’ll learn how to peer into the VeChainThor blockchain to read account details, track balances, and identify the difference between humans and smart contracts.

Skills the Learner Will Acquire:

  • Distinguishing between Externally Owned Accounts (EOA) and Smart Contracts.

  • Fetching and formatting 18-decimal token balances.

  • Using the SDK to resolve VeChain Name Service (VNS) aliases.