claim
Redeem winning outcome tokens for USDC at 1:1 ratio from resolved prediction markets. Losing tokens are burned.
Instructions
Claim USDC from a resolved market by redeeming outcome tokens. Winning = 1:1 USDC. Losing = burned.
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": {
"marketAppId": "<marketAppId>",
"assetId": "<assetId>"
},
"name": "claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Amount to claim in microunits (omit to claim entire balance) | |
| assetId | Yes | The outcome token ASA ID to redeem | |
| marketAppId | Yes | The market app ID |