WAX icon

WAX

Interact with the WAX blockchain

Overview

This node interacts with the WAX blockchain, specifically allowing users to retrieve information about a WAX account. The "Get Account Info" operation fetches details related to a specified WAX account name from a given WAX blockchain API endpoint. This is useful for scenarios where you need to verify account existence, check account status, or gather metadata about an account on the WAX blockchain.

Practical examples include:

  • Verifying if a user’s WAX account exists before processing transactions.
  • Fetching account details to display in a dashboard or application.
  • Integrating blockchain account data into workflows for automation or reporting.

Properties

Name Meaning
API Endpoint The URL of the WAX blockchain API endpoint to query (default: https://wax.greymass.com).
Account Name The WAX account name whose information you want to retrieve.

Output

The node outputs JSON data containing the account information retrieved from the WAX blockchain API. The exact structure depends on the API response but typically includes fields such as account balances, permissions, and other metadata associated with the WAX account.

If the node encounters an error during execution, it may output a JSON object with an error field describing the issue.

No binary data output is produced by this node.

Dependencies

  • Requires access to a WAX blockchain API endpoint (e.g., https://wax.greymass.com).
  • Optionally uses an API key credential for authentication if configured, though it is not mandatory.
  • No additional external dependencies are indicated.

Troubleshooting

  • Common issues:

    • Incorrect or unreachable API endpoint URL can cause connection failures.
    • Invalid or misspelled account names will result in errors or empty responses.
    • Network connectivity problems may prevent successful API calls.
  • Error messages:

    • Errors returned from the WAX API will be passed through in the output's error field if "Continue On Fail" is enabled.
    • Typical errors include "account not found" or "unable to connect to endpoint".
  • Resolutions:

    • Verify the API endpoint URL is correct and accessible.
    • Double-check the account name spelling.
    • Ensure network connectivity and any required firewall rules allow outbound requests to the API endpoint.

Links and References

Discussion