Actions12
- Account Actions
- Token Actions
- Asset Actions
- Template Actions
- Schema Actions
Account → Stake CPU
AI-generatedOverview
This node interacts with the WAX blockchain to perform the 'Stake CPU' operation on a specified WAX account. It allows users to stake a specified amount of WAX tokens to the CPU resource of their account, which is essential for performing transactions on the blockchain. This operation is useful for users who want to allocate CPU resources to their account or transfer the staked tokens' ownership to another account.
Use Case Examples
- Staking 5 WAX tokens to the CPU resource of a user's WAX account to increase transaction capacity.
- Transferring staked CPU tokens to a new account as part of account management or delegation.
Properties
| Name | Meaning |
|---|---|
| API Endpoint | The WAX blockchain API endpoint to connect to for performing the operation. |
| Account Name | The WAX account name on which the CPU staking operation will be performed. |
| Amount (WAX) | The amount of WAX tokens to stake to the CPU resource. |
| Transfer Stake to New Account | A boolean flag indicating whether to transfer ownership of the staked tokens to a new account. |
Output
JSON
returnData- The result data returned from the WAX blockchain after performing the stake CPU operation, typically including transaction details and status.
Dependencies
- Requires connection to a WAX blockchain API endpoint, typically specified by the user.
- May require an API key or private key credential for authentication to sign transactions on the WAX blockchain.
Troubleshooting
- Common issues include incorrect account names, insufficient WAX token balance for staking, or network connectivity problems to the specified API endpoint.
- Error messages may indicate invalid parameters, authentication failures, or blockchain transaction errors. Users should verify account details, token balances, and API endpoint accessibility.
- Ensure the private key credential is correctly configured if required for signing the staking transaction.