x402_staking_stake
Stake tokens in an Algorand staking pool by generating a 4-transaction group, signing with your wallet, and submitting it.
Instructions
PAID $0.01 USDC — staking/stake: 4-txn group: [pay boxMBR->app, stakePay->app, stakeAxfer->app, appl stakeTokens(uint64,uint64,pay,axfer,pay)]. Sign with your own wallet, then call the submit tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address (agent wallet) | |
| stakingId | Yes | uint64 pool app id | |
| updatedApr | No | uint64 optional (computed from pool state if omitted) | |
| stakeAmount | Yes | uint64 (base units) | |
| stakeTokenId | No | uint64 (0=native ALGO; optional, read from pool if omitted) |