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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sender": "<sender>",
"stakingId": "<stakingId>",
"stakeAmount": "<stakeAmount>"
},
"name": "x402_staking_stake"
}
}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) |