Returns the parent market for a given token ID. Useful when you have a token ID and need to resolve its parent market without knowing the condition ID in advance.
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.
The condition ID of the market containing the given token
"0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af"
The primary (Yes) token ID
"71321045679252212594626385532706912750332728571942532289631379312455583992563"
The secondary (No) token ID
"52114319501245915516055106046884209969926127482827954674443846427813813222426"