build_create_market_tx
Build an unsigned transaction to create a prediction market via MarketFactory; the receipt returns the new market contract address for signing or deployment.
Instructions
Build an unsigned transaction to create a new prediction market via the MarketFactory. Returns the address of the new market contract in the transaction receipt.
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": {
"question": "<question>",
"end_time": "<end_time>",
"chain_id": "<chain_id>"
},
"name": "build_create_market_tx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | EVM chain ID (e.g. 8453 for Base, 369 for PulseChain) | |
| end_time | Yes | Market end time as Unix timestamp (seconds). Must be in the future. | |
| question | Yes | The market question (e.g. "Will BTC reach $100k by Dec 2026?") |