Overview
This node enables transferring tokens on the WAX blockchain. It is useful for automating token transfers between accounts, such as sending rewards, payments, or moving assets programmatically within workflows. For example, a user could automate paying out tokens to multiple recipients based on certain triggers or conditions.
Properties
| Name | Meaning |
|---|---|
| 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). |
| Symbol | The token symbol to transfer (e.g., "WAX"). |
| Precision | Number of decimal places for the token amount (default is 8). |
| Memo | Optional memo string to include with the transfer transaction. |
| API Endpoint | The URL of the WAX blockchain API endpoint to connect to (e.g., "https://wax.greymass.com"). |
| Contract | The token contract account on the WAX blockchain (e.g., "eosio.token" for WAX tokens). |
Output
The node outputs JSON data containing the result of the blockchain transaction. Specifically, it returns an object with a result field that holds the full response from the WAX blockchain API after submitting the transfer action. This includes transaction details such as transaction ID, block info, and status.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential providing a private key and associated account name authorized to perform token transfers.
- Connects to a specified WAX blockchain API endpoint.
- Uses the
eosjslibrary and its signature provider for signing and submitting transactions.
Troubleshooting
- Invalid credentials or private key errors: Ensure the provided private key corresponds to the account authorized to send tokens and is correctly configured in the node credentials.
- Insufficient funds: The sender account must have enough balance of the specified token to cover the transfer amount.
- Incorrect account names or contract: Verify that the "To Account" and "Contract" fields are correct and exist on the WAX blockchain.
- API endpoint connectivity issues: Confirm the API endpoint URL is reachable and operational.
- Precision mismatch: Make sure the precision matches the token's actual decimal places; otherwise, the transaction may fail or produce incorrect amounts.
Links and References
- WAX Blockchain
- EOSJS Library Documentation
- WAX Token Transfer Standard (general reference)