WAX icon

WAX

Interact with the WAX blockchain

Token → Get Account Token Balance

AI-generated

Overview

This node interacts with the WAX blockchain to retrieve the token balance of a specified WAX account. It is useful for scenarios where you need to check the balance of tokens held by an account on the WAX blockchain, such as in blockchain analytics, wallet applications, or automated workflows involving token management.

Use Case Examples

  1. Checking the WAX token balance of a user's account before initiating a transaction.
  2. Monitoring token balances for multiple accounts in a batch process.

Properties

Name Meaning
API Endpoint The WAX blockchain API endpoint to connect to for querying data.
Account Name The WAX account name whose token balance is to be retrieved.
Token Contract The token contract on the WAX blockchain, e.g., 'eosio.token' for WAX tokens.
Symbol The symbol of the token to check the balance for, e.g., 'WAX'.

Output

JSON

  • balance - The token balance of the specified account for the given token symbol.

Dependencies

  • Requires connection to a WAX blockchain API endpoint, which may require network access and optionally an API key credential if the endpoint requires authentication.

Troubleshooting

  • Common issues include incorrect account names or token contract names leading to failed balance retrievals.
  • Network connectivity issues or incorrect API endpoint URLs can cause request failures.
  • Errors related to invalid or missing parameters will be thrown if required properties are not provided.

Links

Discussion