WAX icon

WAX

Interact with the WAX blockchain

Overview

The node interacts with the WAX blockchain, specifically allowing users to stake WAX tokens on an account. Staking NET tokens is a common operation in blockchain environments like WAX to allocate network bandwidth resources for transactions. This node's "Stake NET" operation enables users to specify an amount of WAX tokens to stake towards network resources, optionally transferring the ownership of the staked tokens to another account.

Practical scenarios include:

  • Preparing an account to perform more transactions by increasing its network resource allocation.
  • Delegating network bandwidth to a new or different account by transferring staked tokens.
  • Automating staking operations as part of blockchain management workflows.

Properties

Name Meaning
API Endpoint The URL of the WAX blockchain API endpoint to connect to (default: https://wax.greymass.com).
Account Name The WAX blockchain account name on which to perform the staking operation.
Amount (WAX) The quantity of WAX tokens to stake for network resources.
Transfer Stake to New Account Boolean flag indicating whether the staked tokens' ownership should be transferred to a new account (true or false).

Output

The node outputs JSON data representing the result of the staking operation on the WAX blockchain. This typically includes transaction details such as transaction ID, status, and any blockchain response confirming the staking action.

No binary data output is indicated for this operation.

Dependencies

  • Requires access to a WAX blockchain API endpoint, configurable via the "API Endpoint" property.
  • May require an API authentication token or private key credential configured in n8n to authorize staking transactions on behalf of the user.
  • Network connectivity to the specified WAX API endpoint must be available.

Troubleshooting

  • Common Issues:

    • Incorrect or unreachable API endpoint URL can cause connection failures.
    • Insufficient WAX token balance in the specified account will prevent staking.
    • Invalid account names or permissions may lead to authorization errors.
    • Attempting to transfer stake ownership without proper rights can fail.
  • Error Messages:

    • Errors related to network connectivity usually indicate issues with the API endpoint or internet access.
    • Blockchain error messages often include insufficient funds or unauthorized actions; verify account balances and permissions.
    • If the node throws errors about missing credentials, ensure that the required API authentication token or private key is properly configured in n8n.

Links and References

Discussion