WAX icon

WAX

Interact with the WAX blockchain

Overview

This node enables interaction with the WAX blockchain, specifically allowing users to transfer tokens from one account to another. It is useful in scenarios where automated token transfers are needed, such as paying for services, distributing rewards, or managing token balances programmatically on the WAX blockchain.

For example, a user can configure this node to send a specified amount of WAX tokens to another user's account with an optional memo describing the transaction purpose.

Properties

Name Meaning
API Endpoint The URL of the WAX blockchain API endpoint to connect to (default: https://wax.greymass.com).
Token Contract The smart contract managing the token, e.g., "eosio.token" for standard WAX tokens.
Symbol The symbol of the token to transfer, e.g., "WAX".
To Account The recipient's WAX blockchain account name to which tokens will be transferred.
Amount The number of tokens to transfer (e.g., 1).
Precision Number of decimal places for the token amount (default is 8).
Memo Optional text memo attached to the transfer transaction.

Output

The node outputs JSON data representing the result of the token transfer operation. This typically includes transaction details such as transaction ID, status, and any relevant blockchain response data confirming the transfer.

No binary data output is produced by this node.

Dependencies

  • Requires access to a WAX blockchain API endpoint.
  • May require an API key or private key credential for signing transactions (configured separately in n8n credentials).
  • Network connectivity to the specified API endpoint must be available.

Troubleshooting

  • Common issues:

    • Invalid or unreachable API endpoint URL.
    • Incorrect recipient account name causing transaction failure.
    • Insufficient token balance in the sender's account.
    • Missing or invalid authentication credentials for signing transactions.
    • Incorrect token contract or symbol leading to failed transfers.
  • Error messages:

    • Errors related to network connectivity should be resolved by verifying the API endpoint URL and internet connection.
    • Authentication errors require checking that the correct API key or private key credential is configured.
    • Transaction failures due to insufficient funds or invalid accounts should be addressed by verifying account balances and recipient details.

Links and References

Discussion