split_shares
Split USDC into equal YES and NO outcome tokens for a prediction market on Algorand. Each 1 USDC yields 1 YES and 1 NO token.
Instructions
Split USDC into equal YES and NO outcome tokens. 1 USDC (1000000 microunits) = 1 YES + 1 NO.
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": "split_shares"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to split in microunits (e.g. 1000000 = $1.00 USDC) | |
| marketAppId | Yes | The market app ID |