Register a new Bopster market
register_marketReads a confirmed createMarket transaction, returns the new market and its link, and notifies the Bopster backend so the market appears on the site without waiting for indexing.
Instructions
Step 4 of creating a Bopster market. Reads the confirmed createMarket transaction, returns the new market and its link, and tells the Bopster backend so it shows up on the site right away. The backend re-reads the market from the chain itself, and its indexer would find it anyway; this only saves the wait.
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": {
"tx_hash": "<tx_hash>"
},
"name": "register_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx_hash | Yes | Hash of the confirmed createMarket transaction. |