Prepare a Bopster market launch
prepare_market_launchValidates a confirmed askQuestion transaction against the drafted market and returns the unsigned createMarket transaction needed to launch it.
Instructions
Step 3 of creating a Bopster market. Only launches drafts prepare_market_question built: pass its next.arguments unchanged, plus the question tx hash. Reads the confirmed askQuestion transaction, checks it is exactly the drafted question (same text, asker, arbitrator, answer window and opening time), and returns the unsigned createMarket transaction. Non-custodial: nothing is signed or sent here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | The wallet that will sign and send the transactions (0x...). Balances and positions are read for this address. | |
| end_time | Yes | Unix seconds, from prepare_market_question. | |
| question | Yes | The question text, from prepare_market_question. | |
| draft_token | Yes | From prepare_market_question. Proves this server drafted the market. | |
| metadata_uri | Yes | ||
| resolve_time | Yes | Unix seconds, from prepare_market_question. | |
| question_tx_hash | Yes | Hash of the confirmed askQuestion transaction. |