polymarket_resolve_token_onchain
Resolve an outcome token ID to its conditionId and outcome index using Polygon on-chain registry data, with block provenance and verification level.
Instructions
Resolve a token id to conditionId + outcomeIndex from Polygon ground truth (reads the CTF Exchange registry and derives ConditionalTokens position ids), not the Gamma API. Returns block provenance and verification level (fully_verified / pair_only for NegRisk). Requires env POLYGON_RPC_URL (a free public/free-tier Polygon RPC works).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token_id": "<token_id>"
},
"name": "polymarket_resolve_token_onchain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | Optional Polygon block number to read at (default latest). | |
| token_id | Yes | Outcome token id (decimal uint256 string). |