Get the ALPH balance
10^18.
lockedBalance is ALPH that exists in outputs with a future lockTime it belongs to the address but cannot be spent yet. utxoNum is the number of unspent outputs the balance is spread across.
Get token balances
The raw node balance endpoint only returns ALPH. To get token balances use the indexer:10^18. Always fetch the token metadata to get the correct decimals value before displaying an amount to a user.
Get token metadata
decimals: 6, a raw balance of 500000000 equals 500 USDT.
Get all tokens held by an address
"1" almost always means the token is an NFT. Fungible tokens on Alephium typically have amounts well above 1 even after accounting for decimals.
Get UTXOs for an address
If you need to build a transaction manually you need the raw UTXOs, not just the balance:utxos is a spendable output. The SDK handles UTXO selection automatically when you use transactions/build you only need this endpoint if you are constructing raw transactions yourself.
Check if a node is synced before querying
Balances returned by an unsynced node will be stale. Check sync status first:isSynced is true.
Parameters reference
Next steps
Submit a transaction
Build, sign, and broadcast a transfer
Read a contract
Call view functions on deployed contracts

