merge_positions
Merge matching YES and NO shares into USDC without gas fees. Provide a condition ID and amount; dry-run enabled by default.
Instructions
Merge matching YES+NO shares back into USDC, GASLESS via the relayer. amount is in shares, or 'max' for the largest balanced amount held. Needs the operator's relayer key. DRY-RUN by default.
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": {
"condition_id": "<condition_id>"
},
"name": "merge_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | max | |
| condition_id | Yes |