Skip to content

Register a token pair in backend storage

POST
/markets/token-pairs

Request Body

application/json
JSON
{
  
"tokenId": "string",
  
"complementTokenId": "string",
  
"conditionId": "string",
  
"question": "string",
  
"questionId": "string",
  
"outcomeSlotCount": 0
}

Responses

Default Response

application/json
JSON
{
  
"ok": true
}

Playground

Server
Body

Samples