Actions9
- Account Actions
- Token Actions
- Asset Actions
Token → Get Account Token Balance
AI-generatedSummary
Fetch token balance for a specified WAX account and contract.
Inputs
- endpoint (required) — WAX blockchain API endpoint
- account (required) — WAX account name
- contract (required) — Token contract (e.g., "eosio.token" for WAX)
- symbol (required) — Token symbol (e.g., "WAX")
Output shape
a single record containing the token balance
Returns the numeric balance; may include an error object if balance cannot be retrieved.
Examples
Example 1: Check WAX token balance for the default account
endpoint=https://wax.greymass.com, account=alice, contract=eosio.token, symbol=WAX
Example 2: Get balance of a custom token on WAX
endpoint=https://wax.greymass.com, account=bob, contract=mytoken, symbol=MYT
Example 3: Query a different WAX API endpoint
endpoint=https://api.greys.one, account=charlie, contract=eosio.token, symbol=WAX