Skip to main content
GET
Get market by token

路径参数

token_id
string
必填

The token ID to look up the parent market for

响应

Successfully retrieved market

Response for GET /markets-by-token/{token_id} — condition ID and both token IDs in the market.

condition_id
string
必填

The condition ID of the market containing the given token

示例:

"0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"

primary_token_id
string
必填

The primary (Yes) token ID

示例:

"71321045679252212594626385532706912750332728571942532289631379312455583992563"

secondary_token_id
string
必填

The secondary (No) token ID

示例:

"52114319501245915516055106046884209969926127482827954674443846427813813222426"