Actions9
- Account Actions
- Token Actions
- Asset Actions
Overview
This node enables interaction with the WAX blockchain, specifically allowing users to perform operations related to WAX accounts. The "Buy RAM" operation lets users purchase RAM on the WAX blockchain by specifying an account and the amount of WAX tokens to spend. This is useful in scenarios where a user needs to allocate more RAM resources to their WAX account for deploying smart contracts or handling larger transactions.
Practical examples include:
- Automatically buying RAM when setting up new accounts.
- Managing resource allocation for decentralized applications running on WAX.
- Integrating WAX blockchain resource management into automated 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 that will buy RAM. |
| Amount (WAX) | The amount of WAX tokens to spend on purchasing RAM. |
Output
The node outputs JSON data representing the result of the "Buy RAM" operation on the WAX blockchain. This typically includes transaction details such as transaction ID, status, and any relevant blockchain response confirming the RAM purchase.
If the operation fails and "Continue On Fail" is enabled, the output JSON will contain an error field with the error message.
No binary data output is produced by this node.
Dependencies
- Requires access to a WAX blockchain API endpoint (default is
https://wax.greymass.com). - Optionally requires an API key or private key credential for authentication if the operation demands it (not explicitly shown but implied by credentials configuration).
- Network connectivity to the specified WAX API endpoint.
Troubleshooting
Common issues:
- Incorrect or unreachable API endpoint URL can cause connection failures.
- Invalid or unauthorized account names may lead to transaction rejection.
- Insufficient WAX balance in the account to cover the RAM purchase amount.
Error messages:
- Errors returned from the blockchain API will be included in the output JSON under the
errorfield if "Continue On Fail" is enabled. - Common errors might include authorization failures, insufficient funds, or invalid parameters.
- Errors returned from the blockchain API will be included in the output JSON under the
Resolution tips:
- Verify the API endpoint URL is correct and accessible.
- Ensure the account has enough WAX tokens to cover the purchase.
- Confirm that any required authentication credentials are properly configured.