x402_staking_unstake
Unstake Algorand tokens from a staking position by creating a signed transaction with a flat 0.003 ALGO fee, and submit it using the submit tool.
Instructions
PAID $0.01 USDC — staking/unstake: 1-txn group: [appl unstakeTokens(unstakeAmount, updatedApr)] flat fee 0.003 ALGO. 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>",
"unstakeAmount": "<unstakeAmount>"
},
"name": "x402_staking_unstake"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address | |
| stakingId | Yes | uint64 | |
| updatedApr | No | uint64 optional | |
| unstakeAmount | Yes | uint64 (base units) |