merge_shares
Merge equal amounts of YES and NO outcome tokens from a prediction market to redeem USDC. Returns 1 USDC for each pair of YES and NO tokens.
Instructions
Merge equal YES and NO outcome tokens back into USDC. 1 YES + 1 NO = 1 USDC.
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>",
"amount": "<amount>"
},
"name": "merge_shares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to merge in microunits | |
| marketAppId | Yes | The market app ID |