Group Location
Explore Plans
Mobile menu Close menu
vechain.energyvechain.energy

Balance

This query returns the current VET or Token balance for a wallet.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This query returns the current VET or Token balance for a wallet.
API endpoint slug
vechain.balance
Runtime method
performQuery("vechain.balance")

Query fields

Contract Dropdown list

Label
Token
Helper text
Optionally query for the balance of a specific token.
Slug
contract
Required
false
Can have default value
false

Ingredients

AddressThe wallets address of the balance.

Slug
address
Filter code
Vechain.balance.Address
Type
String
Example
0x0000000000000000000000000000000000000000

AmountThe amount of the current balance.

Slug
amount
Filter code
Vechain.balance.Amount
Type
String
Example
100.0

SymbolThe symbol of the balance.

Slug
symbol
Filter code
Vechain.balance.Symbol
Type
String
Example
VET