Create a new market through the router
cURL
curl --request POST \ --url https://mainnet.base.org/router/createMarket \ --header 'Content-Type: application/json' \ --data ' { "creator": "<string>" } '
{ "marketAddress": "<string>", "marketCounter": 123, "transactionHash": "<string>" }
Address of the market creator
Market created successfully through router
Address of the newly created market
Counter/ID of the created market
Transaction hash of the market creation
Was this page helpful?