cURL
curl --request POST \ --url https://api-testnet.context.markets/v2/markets/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "questionId": "0x1111111111111111111111111111111111111111111111111111111111111111" } '
{ "marketId": "0x1111111111111111111111111111111111111111111111111111111111111111", "txHash": "0x1111111111111111111111111111111111111111111111111111111111111111" }
Public API key passed as Bearer token
32-byte hex hash
^0x[a-fA-F0-9]{64}$
"0x1111111111111111111111111111111111111111111111111111111111111111"
Created market