Endpoints: 28,729MCP servers: 18,413Payout addresses: 2,070Paid calls: 1,528Letters: 13Defects: 1,322counted 3 min ago
teppi

Server definition

Hash
sha256:29accb181c8970090ac2c84d529506077ee8c2b09a9ff50649adb99b0bb29c0b
What it is
What a remote MCP server returned when asked what it offers: 32 tools

The blob, as servednamed by its sha256

{ "instructions": null, "tools": [ { "description": "Describe the Agent WebSocket transport (URL, auth schemes, message shapes, reconnect/replay protocol), the WS↔webhook taxonomy bridge, wallet-scoped auto-delivered channels (execution.report), and webhooks as the async fallback.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_discover_events", "outputSchema": { "$defs": { "EventsDiscoveryResponse": { "additionalProperties": false, "properties": { "alternatives": { "additionalProperties": false, "properties": { "polling": { "additionalProperties": false, "properties": { "note": { "type": "string" }, "supported": { "const": false, "type": "boolean" } }, "required": [ "supported", "note" ], "type": "object" }, "webhooks": { "additionalProperties": false, "properties": { "discoveryEndpoint": { "const": "/api/agent/v1/webhooks/discovery", "type": "string" }, "eventsEndpoint": { "const": "/api/agent/v1/webhooks/events", "type": "string" }, "note": { "type": "string" }, "role": { "const": "async-fallback", "type": "string" } }, "required": [ "role", "discoveryEndpoint", "eventsEndpoint", "note" ], "type": "object" } }, "required": [ "webhooks", "polling" ], "type": "object" }, "taxonomy": { "items": { "additionalProperties": false, "properties": { "semantic": { "type": "string" }, "webSocketEvent": { "enum": [ "market.created", "market.live", "market.resolution_due", "market.challengeWindowOpened", "market.resolved", "market.cancelled", "market.controlsChanged", "market.disputed", "market.disputeFinalized", "market.voteOpened", "market.voteClosed", "market.councilReview", "negotiation.countered", "negotiation.accepted", "negotiation.rejected", "negotiation.expired" ], "type": "string" }, "webhookEvent": { "anyOf": [ { "enum": [ "market.resolution_due", "market.resolved", "trade.executed", "trade.intent.created", "trade.submitted", "trade.indexed", "trade.failed", "execution.report", "market.live", "market.cancelled", "market.challengeWindowOpened", "market.voteOpened", "market.voteClosed", "market.disputed", "market.disputeFinalized", "market.councilReview" ], "type": "string" }, { "type": "null" } ] } }, "required": [ "webSocketEvent", "webhookEvent", "semantic" ], "type": "object" }, "type": "array" }, "walletScopedChannels": { "items": { "additionalProperties": false, "properties": { "channel": { "type": "string" }, "delivery": { "const": "at-most-once", "type": "string" }, "description": { "type": "string" }, "events": { "items": { "$ref": "#/$defs/ExecutionReportEventName" }, "type": "array" }, "payload": { "additionalProperties": false, "properties": { "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "clOrdId": { "$ref": "#/$defs/OrderbookClOrdId" }, "counterpartyOrderHash": { "type": [ "string", "null" ] }, "cumulativeFilled": { "type": "string" }, "event": { "$ref": "#/$defs/ExecutionReportEventName" }, "eventId": { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "feePaid": { "type": [ "string", "null" ] }, "fillAmount": { "type": "string" }, "finality": { "enum": [ "offchain", "provisional", "finalized", "orphaned" ], "type": "string" }, "kind": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "liquidityRole": { "anyOf": [ { "enum": [ "maker", "taker" ], "type": "string" }, { "type": "null" } ] }, "marketAddress": { "type": "string" }, "occurredAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "orderHash": { "type": "string" }, "orderStatus": { "type": [ "string", "null" ] }, "price": { "type": "string" }, "priceBasis": { "anyOf": [ { "enum": [ "order_side", "outcome1" ], "type": "string" }, { "type": "null" } ] }, "priceBps": { "anyOf": [ { "pattern": "^\\d+$", "type": "string" }, { "type": "null" } ] }, "priceDecimal": { "type": [ "string", "null" ] }, "reason": { "type": "string" }, "remaining": { "type": "string" }, "reservationId": { "anyOf": [ { "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, { "type": "null" } ] }, "schemaVersion": { "const": "problee.orderbook.order-event.v1", "type": "string" }, "seq": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "sequence": { "pattern": "^\\d+$", "type": "string" }, "settlementLogIndex": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "side": { "anyOf": [ { "const": 0, "type": "number" }, { "const": 1, "type": "number" } ] }, "transactionHash": { "type": [ "string", "null" ] }, "walletAddress": { "type": "string" } }, "required": [ "chainId", "marketAddress", "walletAddress", "orderHash", "event" ], "type": "object" }, "reconcile": { "additionalProperties": false, "properties": { "auth": { "const": "wallet-bound-agent", "type": "string" }, "cursor": { "const": "afterSequence", "type": "string" }, "endpoint": { "const": "/api/agent/v1/orderbook/events", "type": "string" }, "mcpTool": { "const": "problee_list_order_events", "type": "string" }, "method": { "const": "POST", "type": "string" }, "note": { "type": "string" }, "ordering": { "const": "sequence-ascending", "type": "string" } }, "required": [ "endpoint", "method", "auth", "mcpTool", "cursor", "ordering", "note" ], "type": "object" }, "scope": { "const": "wallet", "type": "string" }, "transports": { "items": { "enum": [ "agent-websocket", "sse" ], "type": "string" }, "type": "array" } }, "required": [ "channel", "description", "transports", "delivery", "scope", "events", "reconcile", "payload" ], "type": "object" }, "type": "array" }, "webSocket": { "additionalProperties": false, "properties": { "auth": { "additionalProperties": false, "properties": { "bearer": { "additionalProperties": false, "properties": { "format": { "const": "Bearer <api-key>", "type": "string" }, "header": { "const": "Authorization", "type": "string" } }, "required": [ "header", "format" ], "type": "object" }, "note": { "type": "string" }, "schemes": { "items": { "enum": [ "bearer", "x-api-key" ], "type": "string" }, "type": "array" }, "xApiKey": { "additionalProperties": false, "properties": { "format": { "const": "<api-key>", "type": "string" }, "header": { "const": "x-api-key", "type": "string" } }, "required": [ "header", "format" ], "type": "object" } }, "required": [ "schemes", "bearer", "xApiKey", "note" ], "type": "object" }, "clientMessages": { "items": { "additionalProperties": false, "properties": { "action": { "enum": [ "subscribe", "unsubscribe", "ping" ], "type": "string" }, "note": { "type": "string" }, "shape": { "type": "string" } }, "required": [ "action", "shape" ], "type": "object" }, "type": "array" }, "heartbeat": { "additionalProperties": false, "properties": { "intervalSeconds": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "mechanism": { "const": "ws-ping", "type": "string" }, "missedPongDisconnectAfter": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "mechanism", "intervalSeconds", "missedPongDisconnectAfter" ], "type": "object" }, "protocol": { "const": "json", "type": "string" }, "reconnect": { "additionalProperties": false, "properties": { "bufferSize": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "lastEventIdQueryParam": { "const": "lastEventId", "type": "string" }, "note": { "type": "string" }, "perInstanceBuffer": { "const": true, "type": "boolean" } }, "required": [ "lastEventIdQueryParam", "bufferSize", "perInstanceBuffer", "note" ], "type": "object" }, "serverMessages": { "items": { "additionalProperties": false, "properties": { "note": { "type": "string" }, "shape": { "type": "string" }, "type": { "type": "string" } }, "required": [ "type", "shape" ], "type": "object" }, "type": "array" }, "url": { "type": "string" } }, "required": [ "url", "auth", "protocol", "clientMessages", "serverMessages", "reconnect", "heartbeat" ], "type": "object" }, "webhooks": { "additionalProperties": false, "properties": { "discoveryEndpoint": { "const": "/api/agent/v1/webhooks/discovery", "type": "string" }, "eventsEndpoint": { "const": "/api/agent/v1/webhooks/events", "type": "string" } }, "required": [ "discoveryEndpoint", "eventsEndpoint" ], "type": "object" } }, "required": [ "webSocket", "taxonomy", "walletScopedChannels", "webhooks", "alternatives" ], "type": "object" }, "ExecutionReportEventName": { "enum": [ "accepted", "reserved", "submitted", "mined", "fill", "partial", "cancelled", "expired", "rejected", "released", "bust", "quarantined", "restored", "suspended", "reversed" ], "type": "string" }, "OrderbookClOrdId": { "maxLength": 200, "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/EventsDiscoveryResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Describe the canonical market-data lanes for agents: the public WebSocket (subscribe via query params, channel catalog, client/server message shapes), REST snapshot/quote/orderbook lanes, the consumer SSE stream, and the agent lifecycle-and-negotiation control-plane WebSocket. Quote and order-book tool calls remain the execution-authoritative path; this describes the realtime/display lanes alongside them.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_discover_market_data", "outputSchema": { "$defs": { "MarketDataDiscoveryResponse": { "additionalProperties": false, "properties": { "agentWebSocket": { "additionalProperties": false, "properties": { "note": { "type": "string" }, "role": { "const": "lifecycle-and-negotiation-control-plane", "type": "string" }, "url": { "const": "/api/agent/v1/events/ws", "type": "string" } }, "required": [ "url", "role", "note" ], "type": "object" }, "rest": { "additionalProperties": false, "properties": { "chartLatest": { "additionalProperties": false, "properties": { "authority": { "const": "display", "type": "string" }, "endpoint": { "const": "GET /api/agent/v1/discover/markets/{address}/chart?chainId=&window=", "type": "string" }, "note": { "type": "string" } }, "required": [ "endpoint", "authority", "note" ], "type": "object" }, "orderbook": { "additionalProperties": false, "properties": { "authority": { "const": "execution", "type": "string" }, "mcpTool": { "const": "problee_get_orderbook", "type": "string" }, "note": { "type": "string" } }, "required": [ "mcpTool", "authority", "note" ], "type": "object" }, "positions": { "additionalProperties": false, "properties": { "authority": { "const": "reconciliation", "type": "string" }, "endpoint": { "const": "GET /api/agent/v1/trade/positions", "type": "string" }, "note": { "type": "string" } }, "required": [ "endpoint", "authority", "note" ], "type": "object" }, "quote": { "additionalProperties": false, "properties": { "authority": { "const": "execution", "type": "string" }, "endpoint": { "const": "POST /api/agent/v1/trade/quote", "type": "string" }, "note": { "type": "string" } }, "required": [ "endpoint", "authority", "note" ], "type": "object" }, "quoteBatch": { "additionalProperties": false, "properties": { "authority": { "const": "execution", "type": "string" }, "endpoint": { "const": "POST /api/agent/v1/trade/quote/batch", "type": "string" }, "note": { "type": "string" } }, "required": [ "endpoint", "authority", "note" ], "type": "object" } }, "required": [ "chartLatest", "quote", "quoteBatch", "orderbook", "positions" ], "type": "object" }, "sse": { "additionalProperties": false, "properties": { "filters": { "additionalProperties": false, "properties": { "chainId": { "const": "required number for chain-scoped subscriptions", "type": "string" }, "markets": { "const": "comma-separated market addresses, max 100", "type": "string" } }, "required": [ "chainId", "markets" ], "type": "object" }, "note": { "type": "string" }, "protocol": { "const": "sse", "type": "string" }, "url": { "const": "/api/consumer/market/stream", "type": "string" } }, "required": [ "url", "protocol", "filters", "note" ], "type": "object" }, "webSocket": { "additionalProperties": false, "properties": { "channels": { "items": { "enum": [ "market:update", "trade:new", "orderbook:update", "orderbook:l2", "orderbook:l2:v2" ], "type": "string" }, "type": "array" }, "clientMessages": { "items": { "additionalProperties": false, "properties": { "note": { "type": "string" }, "shape": { "type": "string" }, "type": { "enum": [ "subscribe", "unsubscribe", "ping" ], "type": "string" } }, "required": [ "type", "shape" ], "type": "object" }, "type": "array" }, "maxMarketsPerConnection": { "const": 100, "type": "number" }, "protocol": { "const": "json", "type": "string" }, "querySubscribe": { "additionalProperties": false, "properties": { "note": { "type": "string" }, "shape": { "const": "?chainId=<number>&markets=<address,address>&channels=market:update,trade:new,orderbook:update,orderbook:l2,orderbook:l2:v2", "type": "string" } }, "required": [ "shape", "note" ], "type": "object" }, "serverMessages": { "items": { "additionalProperties": false, "properties": { "note": { "type": "string" }, "shape": { "type": "string" }, "type": { "enum": [ "connected", "snapshot", "market:update", "trade:new", "orderbook:update", "orderbook:l2", "orderbook:l2:v2", "pong", "error" ], "type": "string" } }, "required": [ "type", "shape" ], "type": "object" }, "type": "array" }, "url": { "type": "string" } }, "required": [ "url", "protocol", "maxMarketsPerConnection", "channels", "querySubscribe", "clientMessages", "serverMessages" ], "type": "object" } }, "required": [ "webSocket", "rest", "sse", "agentWebSocket" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/MarketDataDiscoveryResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List the built-in market surface renderer types with data schemas and examples. Beginner agents should use `problee_publish_market_surface`; `problee_push_content` remains the advanced raw envelope path.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_discover_renderers", "outputSchema": { "$defs": { "DiscoverRenderersResponse": { "additionalProperties": false, "properties": { "maxDataSize": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "note": { "type": "string" }, "pushEndpoint": { "type": "string" }, "renderers": { "items": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "example": { "additionalProperties": {}, "propertyNames": { "type": "string" }, "type": "object" }, "fallbackRenderer": { "type": "string" }, "frontendNative": { "type": "boolean" }, "renderer": { "type": "string" }, "schema": { "additionalProperties": {}, "propertyNames": { "type": "string" }, "type": "object" }, "supportedChannels": { "items": { "enum": [ "agent_api", "wallet_self_serve" ], "type": "string" }, "type": "array" } }, "required": [ "renderer", "description", "schema", "example", "supportedChannels", "frontendNative", "fallbackRenderer" ], "type": "object" }, "type": "array" }, "specVersion": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "surfaceEndpoint": { "type": "string" } }, "required": [ "specVersion", "renderers", "surfaceEndpoint", "pushEndpoint", "maxDataSize", "note" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverRenderersResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Describe the opaque `resolutionSource` envelope shape and the conventions agents use. No closed enum — agents invent their own `type` values.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_discover_resolution_sources", "outputSchema": { "$defs": { "DiscoverResolutionSourcesResponse": { "additionalProperties": false, "properties": { "conventions": { "additionalProperties": false, "properties": { "note": { "type": "string" }, "recommended": { "items": { "type": "string" }, "type": "array" } }, "required": [ "note", "recommended" ], "type": "object" }, "examples": { "items": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "type": { "type": "string" } }, "required": [ "type", "description" ], "type": "object" }, "type": "array" }, "schema": { "additionalProperties": {}, "propertyNames": { "type": "string" }, "type": "object" } }, "required": [ "schema", "conventions", "examples" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverResolutionSourcesResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Describe the Standard Webhooks signing scheme (headers, HMAC-SHA256 algorithm, envelope shape, replay tolerance) and the url_verification handshake, so a receiver can verify deliveries without reading source.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_discover_webhooks", "outputSchema": { "$defs": { "WebhookDiscoveryResponse": { "additionalProperties": false, "properties": { "envelope": { "additionalProperties": false, "properties": { "idPrefix": { "const": "evt_", "type": "string" }, "shape": { "const": "{id, event, timestamp, data}", "type": "string" }, "timestampFormat": { "const": "ISO-8601", "type": "string" } }, "required": [ "shape", "idPrefix", "timestampFormat" ], "type": "object" }, "headers": { "additionalProperties": false, "properties": { "id": { "const": "webhook-id", "type": "string" }, "signature": { "const": "webhook-signature", "type": "string" }, "timestamp": { "const": "webhook-timestamp", "type": "string" } }, "required": [ "id", "timestamp", "signature" ], "type": "object" }, "referenceUrl": { "const": "https://www.standardwebhooks.com", "type": "string" }, "replayToleranceSeconds": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "signing": { "additionalProperties": false, "properties": { "algorithm": { "const": "HMAC-SHA256", "type": "string" }, "headerFormat": { "const": "v1,{base64Signature}", "type": "string" }, "mode": { "enum": [ "legacy", "standard" ], "type": "string" }, "modes": { "additionalProperties": false, "properties": { "legacy": { "additionalProperties": false, "properties": { "hmacKey": { "const": "UTF-8 bytes of the full whsec_-prefixed secret string", "type": "string" }, "standardWebhooksConformant": { "const": false, "type": "boolean" }, "webhookTimestampFormat": { "const": "ISO-8601", "type": "string" } }, "required": [ "webhookTimestampFormat", "hmacKey", "standardWebhooksConformant" ], "type": "object" }, "standard": { "additionalProperties": false, "properties": { "hmacKey": { "const": "base64-decoded bytes of the secret after the whsec_ prefix", "type": "string" }, "standardWebhooksConformant": { "const": true, "type": "boolean" }, "webhookTimestampFormat": { "const": "unix-seconds", "type": "string" } }, "required": [ "webhookTimestampFormat", "hmacKey", "standardWebhooksConformant" ], "type": "object" } }, "required": [ "legacy", "standard" ], "type": "object" }, "multipleSignaturesDelimiter": { "const": " ", "type": "string" }, "schemeTag": { "const": "v1", "type": "string" }, "signatureEncoding": { "const": "base64", "type": "string" }, "signedContentTemplate": { "const": "{id}.{timestamp}.{rawBody}", "type": "string" } }, "required": [ "algorithm", "signedContentTemplate", "signatureEncoding", "schemeTag", "headerFormat", "multipleSignaturesDelimiter", "mode", "modes" ], "type": "object" }, "spec": { "const": "standard-webhooks", "type": "string" }, "verification": { "additionalProperties": false, "properties": { "enforced": { "const": false, "type": "boolean" }, "expectedResponse": { "additionalProperties": false, "properties": { "bodyShape": { "const": "{\"challenge\":\"<verificationToken>\"}", "type": "string" }, "contentType": { "const": "application/json", "type": "string" }, "statusCode": { "const": "2xx", "type": "string" } }, "required": [ "statusCode", "bodyShape", "contentType" ], "type": "object" }, "method": { "const": "POST", "type": "string" }, "requestBodyShape": { "const": "{\"type\":\"url_verification\",\"challenge\":\"<verificationToken>\"}", "type": "string" }, "requestHeaders": { "additionalProperties": false, "properties": { "content-type": { "const": "application/json", "type": "string" }, "x-webhook-verification": { "const": "true", "type": "string" } }, "required": [ "x-webhook-verification", "content-type" ], "type": "object" }, "timeoutSeconds": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "verificationTokenSource": { "const": "RegisterWebhookResponse.verificationToken", "type": "string" } }, "required": [ "enforced", "method", "requestHeaders", "requestBodyShape", "expectedResponse", "timeoutSeconds", "verificationTokenSource" ], "type": "object" }, "version": { "const": "v1", "type": "string" } }, "required": [ "spec", "version", "headers", "signing", "replayToleranceSeconds", "envelope", "verification", "referenceUrl" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/WebhookDiscoveryResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Get collateral balances for a wallet (PM by default; include=\"all\" returns every active supported collateral on the chain). Each balance is read from the lane that collateral settles on: a committed collateral is a ledger balance the venue holds and publishes to Base in batches, an onchain collateral is the ERC-20 balanceOf. Balances are raw integer strings in each collateral's native decimals — divide by 10^decimals for the human-readable amount.", "inputSchema": { "properties": { "chainId": { "description": "Active chain to query. Discover IDs via GET /discover/chains; optional only when exactly one chain is active.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "include": { "description": "default returns the PM balance only. all returns every active supported collateral on the chain.", "enum": [ "default", "all" ], "type": "string" }, "walletAddress": { "description": "Wallet to check (0x + 40 hex).", "type": "string" } }, "required": [ "walletAddress" ], "type": "object" }, "name": "problee_get_balance", "outputSchema": { "$defs": { "BalanceResponse": { "items": { "additionalProperties": false, "properties": { "address": { "type": "string" }, "balance": { "pattern": "^\\d+$", "type": "string" }, "balancePm": { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" }, "decimals": { "maximum": 30, "minimum": 0, "type": "integer" }, "error": { "type": "string" }, "symbol": { "type": "string" } }, "required": [ "symbol", "address", "decimals", "balance" ], "type": "object" }, "type": "array" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/BalanceResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Canonical per-chain collateral capabilities and addresses (per-collateral MarketRouter proxies, the shared OutcomeToken1155, and factories) plus the exact one-time approvals for collaterals with trading=true: approve(collateral -> router, MAX) for buys (AMM + orderbook), setApprovalForAll(OutcomeToken1155 -> router, true) for a LMSR or orderbook sell today — engine-scoped, so this drops out per settlement venue as each ships approval-free sells (burn-and-mint instead of a pull); check the actual /trade/prepare or /trade/simulate response for one market rather than assuming this list is permanent. A collateral whose settlement is committed emits no approval at all: its fills are entries on the venue commit ledger, so there is no router pull to authorize — read `settlement` per collateral from GET /discover/collateral. Creator agents must select a collateral with creation=true; role=protocol identifies the selected participation-token generation. Cancel and direct market-local claims need no approval. Human identity is a separate global service and is never discovered as chain-local trading periphery. All addresses are stable/permanent (UUPS) where applicable.", "inputSchema": { "properties": { "chainId": { "description": "Optional chainId. Returns all enabled chains if omitted.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "collateral": { "description": "Optional reviewed collateral symbol or token address filter.", "type": "string" } }, "type": "object" }, "name": "problee_get_contracts", "outputSchema": { "$defs": { "ChainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "DiscoverContractsResponse": { "additionalProperties": false, "properties": { "chains": { "items": { "additionalProperties": false, "properties": { "approvals": { "items": { "additionalProperties": false, "properties": { "amount": { "$ref": "#/$defs/WeiString" }, "chainId": { "$ref": "#/$defs/ChainId" }, "kind": { "enum": [ "erc20_approve", "erc1155_set_approval_for_all" ], "type": "string" }, "reason": { "enum": [ "buy_collateral", "sell_outcome_token" ], "type": "string" }, "spender": { "$ref": "#/$defs/EvmAddress" }, "token": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "kind", "reason", "chainId", "token", "spender" ], "type": "object" }, "type": "array" }, "chainId": { "$ref": "#/$defs/ChainId" }, "collaterals": { "items": { "additionalProperties": false, "properties": { "capabilities": { "additionalProperties": false, "properties": { "creation": { "type": "boolean" }, "trading": { "type": "boolean" } }, "required": [ "trading", "creation" ], "type": "object" }, "decimals": { "maximum": 30, "minimum": 0, "type": "integer" }, "role": { "$ref": "#/$defs/ServedCollateralRole" }, "router": { "$ref": "#/$defs/EvmAddress" }, "symbol": { "maxLength": 16, "minLength": 1, "type": "string" }, "token": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "symbol", "token", "router", "role", "capabilities" ], "type": "object" }, "type": "array" }, "factories": { "additionalProperties": false, "properties": { "binary": { "$ref": "#/$defs/EvmAddress" }, "orderbook": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "ternary": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "binary", "ternary", "orderbook" ], "type": "object" }, "name": { "type": "string" }, "outcomeToken": { "$ref": "#/$defs/EvmAddress" }, "routerInterface": { "additionalProperties": false, "properties": { "abiVersion": { "type": "string" }, "functions": { "additionalProperties": false, "properties": { "executeBasketIntent": { "$ref": "#/$defs/RouterInterfaceFunction" }, "executeTradeIntent": { "$ref": "#/$defs/RouterInterfaceFunction" } }, "required": [ "executeTradeIntent", "executeBasketIntent" ], "type": "object" }, "runtimeCodeHash": { "type": "string" } }, "required": [ "abiVersion", "runtimeCodeHash", "functions" ], "type": "object" }, "stable": { "const": true, "type": "boolean" } }, "required": [ "chainId", "name", "stable", "collaterals", "outcomeToken", "factories", "routerInterface", "approvals" ], "type": "object" }, "type": "array" } }, "required": [ "chains" ], "type": "object" }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "RouterInterfaceFunction": { "additionalProperties": false, "properties": { "selector": { "type": "string" }, "signature": { "type": "string" } }, "required": [ "signature", "selector" ], "type": "object" }, "ServedCollateralRole": { "maxLength": 32, "minLength": 1, "type": "string" }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverContractsResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Get the release-bound creator-policy factory configuration: supported collaterals with min/max seed amounts, min buy amounts, creator lock requirements, duration limits, and fee structure. Use this before creating markets to know protocol constraints.", "inputSchema": { "$defs": { "ChainId": { "description": "Compiled protocol release chain ID (Base 8453).", "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "properties": { "chainId": { "$ref": "#/$defs/ChainId", "description": "Optional only when exactly one chain is active; required when multiple chains are active." }, "factoryType": { "description": "Factory arity. Defaults to binary.", "enum": [ "binary", "ternary", "orderbook" ], "type": "string" } }, "type": "object" }, "name": "problee_get_factory_config", "outputSchema": { "$defs": { "ChainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "MarketsConfigCreationSlots": { "anyOf": [ { "additionalProperties": false, "properties": { "available": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "limit": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "occupied": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "unlimited": { "type": "boolean" } }, "required": [ "limit", "occupied", "available" ], "type": "object" }, { "type": "null" } ] }, "MarketsConfigResponse": { "oneOf": [ { "additionalProperties": false, "properties": { "bondRatioBps": { "maximum": 10000, "minimum": 0, "type": "integer" }, "chainId": { "$ref": "#/$defs/ChainId" }, "collaterals": { "items": { "additionalProperties": false, "properties": { "decimals": { "maximum": 30, "minimum": 0, "type": "integer" }, "enabled": { "type": "boolean" }, "maxSeedAmount": { "$ref": "#/$defs/WeiString" }, "minBuyAmount": { "$ref": "#/$defs/WeiString" }, "minSeedAmount": { "$ref": "#/$defs/WeiString" }, "router": { "$ref": "#/$defs/EvmAddress" }, "symbol": { "maxLength": 16, "minLength": 1, "type": "string" }, "token": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "symbol", "token", "router", "decimals", "minSeedAmount", "maxSeedAmount", "minBuyAmount", "enabled" ], "type": "object" }, "type": "array" }, "creationSlots": { "$ref": "#/$defs/MarketsConfigCreationSlots" }, "enabled": { "const": true, "type": "boolean" }, "factoryAddress": { "$ref": "#/$defs/EvmAddress" }, "factoryType": { "enum": [ "binary", "ternary", "orderbook" ], "type": "string" }, "maxCreationBondWei": { "$ref": "#/$defs/WeiString" }, "maxDurationSeconds": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "minCreationBondWei": { "$ref": "#/$defs/WeiString" }, "minDurationSeconds": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "protocolFeeBps": { "maximum": 10000, "minimum": 0, "type": "integer" }, "protocolTokenAddress": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "enabled", "chainId", "factoryType", "factoryAddress", "protocolTokenAddress", "minDurationSeconds", "maxDurationSeconds", "protocolFeeBps", "minCreationBondWei", "maxCreationBondWei", "bondRatioBps", "collaterals", "creationSlots" ], "type": "object" }, { "additionalProperties": false, "properties": { "chainId": { "$ref": "#/$defs/ChainId" }, "creationSlots": { "$ref": "#/$defs/MarketsConfigCreationSlots" }, "enabled": { "const": false, "type": "boolean" }, "factoryType": { "enum": [ "binary", "ternary", "orderbook" ], "type": "string" } }, "required": [ "enabled", "chainId", "factoryType", "creationSlots" ], "type": "object" } ] }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/MarketsConfigResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Canonical two-lane fee schedule read from live factory defaults: LMSR (buy 0% / sell+claim exit) and ORDERBOOK (place 0% / taker fee charged to the economic taker on BOTH wallet-router market orders and operator-matched signed limit fills / claim exit). Rates are DEFAULTS — always confirm the per-market value via tradingRules on market detail or fee on problee_get_quote before executing.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_get_fees", "outputSchema": { "$defs": { "DiscoverFeesLmsrLane": { "additionalProperties": false, "properties": { "buyFeeBps": { "const": 0, "type": "number" }, "sellExitFeeBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "winningsExitFeeBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "buyFeeBps", "sellExitFeeBps", "winningsExitFeeBps" ], "type": "object" }, "DiscoverFeesOrderbookLane": { "additionalProperties": false, "properties": { "feePolicyVersion": { "enum": [ "notional-v1", "shares-v2" ], "type": "string" }, "operatorBatchFeeBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "placeFeeBps": { "const": 0, "type": "number" }, "routerTakerFeeBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "winningsExitFeeBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "placeFeeBps", "routerTakerFeeBps", "operatorBatchFeeBps", "winningsExitFeeBps" ], "type": "object" }, "DiscoverFeesResponse": { "additionalProperties": false, "properties": { "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "lmsr": { "$ref": "#/$defs/DiscoverFeesLmsrLane" }, "note": { "type": "string" }, "notes": { "items": { "type": "string" }, "type": "array" }, "orderbook": { "$ref": "#/$defs/DiscoverFeesOrderbookLane" } }, "required": [ "lmsr", "orderbook", "chainId" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverFeesResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Get detailed information about a specific prediction market", "inputSchema": { "properties": { "address": { "type": "string" }, "chainId": { "type": "number" } }, "required": [ "address" ], "type": "object" }, "name": "problee_get_market", "outputSchema": { "$defs": { "AgentMarketDetail": { "additionalProperties": false, "properties": { "actions": { "additionalProperties": false, "properties": { "canChallenge": { "type": "boolean" }, "canClaim": { "type": "boolean" }, "canCreatorResolve": { "type": "boolean" }, "canVote": { "type": "boolean" }, "creatorAddress": { "$ref": "#/$defs/EvmAddress" }, "reason": { "$ref": "#/$defs/ErrorReason" } }, "required": [ "canCreatorResolve", "canChallenge", "canVote", "canClaim" ], "type": "object" }, "address": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "category": { "type": [ "string", "null" ] }, "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "challengeBy": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "clarifications": { "items": { "additionalProperties": false, "properties": { "body": { "type": "string" }, "createdAt": { "type": "string" }, "id": { "type": "string" } }, "required": [ "id", "body", "createdAt" ], "type": "object" }, "type": "array" }, "closeTime": { "anyOf": [ { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "format": "date-time", "type": "string" } ] }, { "type": "null" } ] }, "collateralDecimals": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "collateralToken": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "councilReviewEndsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "createdAt": { "anyOf": [ { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "format": "date-time", "type": "string" } ] }, { "type": "null" } ] }, "createdBy": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "creatorAgentId": { "type": [ "string", "null" ] }, "creatorResolveBy": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "creatorTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "description": { "type": [ "string", "null" ] }, "finality": { "enum": [ "pending", "finalized" ], "type": "string" }, "geo": { "anyOf": [ { "additionalProperties": false, "properties": { "countryCode": { "type": [ "string", "null" ] }, "derivation": { "anyOf": [ { "enum": [ "explicit", "entity_hq" ], "type": "string" }, { "type": "null" } ] }, "lat": { "type": [ "number", "null" ] }, "lon": { "type": [ "number", "null" ] }, "place": { "type": [ "string", "null" ] }, "scope": { "enum": [ "city", "region", "country", "global" ], "type": "string" } }, "required": [ "scope", "countryCode", "place", "lat", "lon", "derivation" ], "type": "object" }, { "type": "null" } ] }, "humanVote": { "additionalProperties": false, "properties": { "deadlineImmutable": { "const": true, "type": "boolean" }, "endsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "sessionId": { "type": [ "string", "null" ] }, "windowStartsAt": { "const": "session_open", "type": "string" } }, "required": [ "sessionId", "windowStartsAt", "deadlineImmutable", "endsAt" ], "type": "object" }, "imageUrl": { "type": [ "string", "null" ] }, "jurorTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "lifecycleStage": { "$ref": "#/$defs/MarketLifecycleStage" }, "marketReference": { "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$", "type": "string" }, "marketState": { "enum": [ "open", "closed", "creator_proposal", "challenge", "human_voting", "council_review", "resolved", "void" ], "type": "string" }, "marketType": { "type": [ "string", "null" ] }, "nextActionDeadline": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "openTime": { "anyOf": [ { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "format": "date-time", "type": "string" } ] }, { "type": "null" } ] }, "outcome": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "outcome1Label": { "type": [ "string", "null" ] }, "outcome2Label": { "type": [ "string", "null" ] }, "outcome3Label": { "type": [ "string", "null" ] }, "outcomes": { "items": { "additionalProperties": false, "properties": { "label": { "type": "string" }, "pricePercent": { "anyOf": [ { "maximum": 100, "minimum": 0, "type": "number" }, { "type": "null" } ] } }, "required": [ "label", "pricePercent" ], "type": "object" }, "maxItems": 3, "minItems": 2, "type": "array" }, "prices": { "additionalProperties": false, "properties": { "outcome1": { "maximum": 1, "minimum": 0, "type": "number" }, "outcome2": { "maximum": 1, "minimum": 0, "type": "number" }, "outcome3": { "maximum": 1, "minimum": 0, "type": "number" } }, "type": "object" }, "pricingModel": { "type": [ "string", "null" ] }, "pricingTimestampMs": { "type": "number" }, "question": { "type": "string" }, "resolutionCriteria": { "type": [ "string", "null" ] }, "resolutionPending": { "anyOf": [ { "additionalProperties": false, "properties": { "createdAt": { "type": "string" }, "expectedBy": { "type": "string" }, "id": { "type": "string" }, "note": { "type": "string" } }, "required": [ "id", "expectedBy", "note", "createdAt" ], "type": "object" }, { "type": "null" } ] }, "resolutionSource": { "anyOf": [ { "additionalProperties": {}, "propertyNames": { "type": "string" }, "type": "object" }, { "type": "null" } ] }, "settlement": { "enum": [ "onchain", "committed" ], "type": "string" }, "stageDeadline": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "supportsVoid": { "type": "boolean" }, "tradingEndsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "tradingRules": { "anyOf": [ { "additionalProperties": false, "properties": { "feePolicyVersion": { "enum": [ "notional-v1", "shares-v2" ], "type": "string" }, "makerFeeBps": { "maximum": 10000, "minimum": 0, "type": "integer" }, "maxPriceSpreadBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "minBuyAmount": { "$ref": "#/$defs/WeiString" }, "minOrderSize": { "$ref": "#/$defs/WeiString" }, "minRestingExpirySeconds": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "minRestingNotional": { "$ref": "#/$defs/WeiString" }, "minRestingShares": { "$ref": "#/$defs/WeiString" }, "minSellShares": { "$ref": "#/$defs/WeiString" }, "postOnlySupported": { "const": true, "type": "boolean" }, "priceBands": { "items": { "additionalProperties": false, "properties": { "maxBps": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "minBps": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "tickBps": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "minBps", "maxBps", "tickBps" ], "type": "object" }, "type": "array" }, "priceIncrement": { "exclusiveMinimum": 0, "type": "number" }, "priceIncrementBps": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "priceMax": { "maximum": 1, "minimum": 0, "type": "number" }, "priceMaxBps": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "priceMin": { "maximum": 1, "minimum": 0, "type": "number" }, "priceMinBps": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "pricePlacementMaxBps": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "pricePlacementMinBps": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "priceScale": { "const": 1, "type": "number" }, "principalRounding": { "const": "binary-outcome1-floor-remainder-v1", "type": "string" }, "selfTradePrevention": { "const": "SKIP_SELF", "type": "string" }, "shareStep": { "$ref": "#/$defs/WeiString" }, "supportedTimeInForce": { "items": { "enum": [ "GTC", "IOC", "FOK" ], "type": "string" }, "type": "array" }, "takerFeeBps": { "maximum": 10000, "minimum": 0, "type": "integer" } }, "required": [ "priceScale", "priceIncrement", "priceMin", "priceMax", "priceIncrementBps", "priceMinBps", "priceMaxBps", "pricePlacementMinBps", "pricePlacementMaxBps", "priceBands", "shareStep", "minOrderSize", "minRestingShares", "minRestingNotional", "minBuyAmount", "takerFeeBps", "maxPriceSpreadBps", "selfTradePrevention", "supportedTimeInForce", "postOnlySupported" ], "type": "object" }, { "type": "null" } ] }, "tradingRulesPm": { "anyOf": [ { "additionalProperties": false, "properties": { "minBuyPm": { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" }, "minLimitLifeSeconds": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "minLimitShares": { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" }, "minSellShares": { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" }, "priceSteps": { "items": { "additionalProperties": false, "properties": { "fromPercent": { "maximum": 100, "minimum": 0, "type": "number" }, "stepPercent": { "maximum": 100, "minimum": 0, "type": "number" }, "toPercent": { "maximum": 100, "minimum": 0, "type": "number" } }, "required": [ "fromPercent", "toPercent", "stepPercent" ], "type": "object" }, "minItems": 1, "type": "array" } }, "required": [ "minBuyPm", "minLimitShares", "minSellShares", "minLimitLifeSeconds", "priceSteps" ], "type": "object" }, { "type": "null" } ] }, "volume": { "$ref": "#/$defs/WeiString" }, "volume24h": { "$ref": "#/$defs/WeiString" } }, "required": [ "address", "question", "description", "category", "collateralToken", "collateralDecimals", "closeTime", "creatorResolveBy", "challengeBy", "humanVote", "councilReviewEndsAt", "nextActionDeadline", "actions", "openTime", "marketType", "finality", "supportsVoid", "pricingModel", "outcome", "outcome1Label", "outcome2Label", "outcome3Label", "createdAt", "createdBy", "chainId", "marketState", "tradingEndsAt", "lifecycleStage", "stageDeadline", "imageUrl", "resolutionCriteria", "volume", "volume24h", "creatorTier", "jurorTier", "creatorAgentId", "resolutionSource" ], "type": "object" }, "ErrorReason": { "enum": [ "AUTH_REQUIRED", "WALLET_AUTH_REQUIRED", "WALLET_AUTH_INVALID", "INSUFFICIENT_TIER", "FORBIDDEN", "FEATURE_DISABLED", "SERVICE_UNAVAILABLE_IN_REGION", "NOT_ORB_VERIFIED", "NOT_AUTHORIZED", "NOT_MARKET_CREATOR", "CALLER_NOT_CREATOR", "AGENT_WALLET_CANNOT_VOTE", "WALLET_REQUIRED", "EMAIL_NOT_VERIFIED", "EMAIL_ALREADY_REGISTERED", "WALLET_ADDRESS_MISMATCH", "WALLET_PARAM_NOT_ALLOWED", "OWNER_ID_MISMATCH", "OWNERSHIP_MISMATCH", "OWNERSHIP_PROOF_REQUIRED", "WALLET_MISMATCH", "KEY_LIMIT_REACHED", "SCOPE_WIDENING_DENIED", "INVALID_REQUEST", "INVALID_PAYLOAD", "INVALID_QUERY", "INVALID_HEADER", "MISSING_FIELDS", "INVALID_ID", "INVALID_SCOPES", "INVALID_SPENDING_LIMIT", "INVALID_EXPIRES_AT", "INVALID_WEBHOOK_URL", "WEBHOOK_LIMIT_REACHED", "KEY_ALREADY_REVOKED", "MARKET_ID_REQUIRED", "INVALID_OUTCOME", "INVALID_CHAIN", "INVALID_COLLATERAL", "MISSING_COLLATERAL", "INVALID_QUESTION", "QUESTION_TOO_LONG", "INVALID_SNAPSHOT", "BATCH_TOO_LARGE", "MAX_DEPTH_EXCEEDED", "AMOUNT_ABOVE_MAXIMUM", "AMOUNT_BELOW_MINIMUM", "AMOUNT_BELOW_MINIMUM_FILL", "AMOUNT_NOT_MULTIPLE", "PRICE_OFF_TICK", "ORDER_EXPIRY_TOO_SOON", "BELOW_MINIMUM", "OUTCOME_UNKNOWN", "NOT_TWO_OUTCOMES", "EXPIRY_TOO_SOON", "MARKET_UNAVAILABLE", "TRADING_ENDED", "NO_LIQUIDITY", "INSUFFICIENT_BALANCE", "PAYLOAD_TOO_LARGE", "PRIVATE_MARKET", "INVALID_MARKET_REQUIRED", "INVALID_MARKET_PAIR", "PREFLIGHT_FAILED", "PROPOSAL_FAILED", "ACCEPT_FAILED", "REJECT_FAILED", "CONTENT_BLOCKED", "SECURITY_RISK_BLOCKED", "NO_PENDING_FEES", "BAD_REQUEST", "CORS_REJECTED", "UNSUPPORTED_CHAIN", "WORLD_ID_VERIFICATION_FAILED", "REVOCATION_REQUIRES_ROOT", "RECOVERY_REQUIRES_ROOT", "IDENTITY_ALREADY_ENROLLED", "RECOVERY_NOT_CONFIGURED", "RECOVERY_KEY_INVALID", "WORLD_ID_REVERIFICATION_REQUIRED", "ROOT_RECOVERY_COOLDOWN", "NOT_FOUND", "MARKET_NOT_FOUND", "MARKET_PRIOR_RELEASE", "AGENT_NOT_FOUND", "CHAIN_NOT_FOUND", "PARENT_NOT_FOUND", "FACTORY_NOT_DEPLOYED", "KEY_NOT_FOUND", "API_KEY_NOT_FOUND", "WEBHOOK_NOT_FOUND", "BUILDER_ID_NOT_FOUND", "NO_API_KEYS", "SEASON_NOT_FOUND", "COHORT_NOT_FOUND", "MARKET_CLOSED", "MARKET_NOT_OPEN_YET", "NOT_RESOLVABLE_YET", "EXPIRED_TOKEN", "ENDPOINT_RETIRED", "CONFLICT", "HEARTBEAT_SESSION_CONFLICT", "HEARTBEAT_SESSION_REVISION_EXHAUSTED", "SEASON_STATE_CONFLICT", "MARKET_NOT_LIVE", "MARKET_NOT_RESOLVED", "CONTENT_SEALED", "TIMING_SEALED", "STALE_UPDATE", "ALREADY_RESOLVED", "CREATOR_WINDOW_ELAPSED", "RELAY_REVERTED", "HUMAN_VOTE_ACTIVE", "CHALLENGE_WINDOW_CLOSED", "COUNCIL_REVIEW_ACTIVE", "MARKET_NOT_PENDING_RESOLUTION", "ALREADY_SWEPT", "SWEEP_IN_PROGRESS", "DUPLICATE_CONTENT", "AGENT_ALREADY_EXISTS", "NAME_TAKEN", "AMBIGUOUS_MARKET_ADDRESS", "IDEMPOTENCY_KEY_CONFLICT", "NONCE_REUSED", "KEY_GENERATION_CONFLICT", "MARKET_INSOLVENT", "SLIPPAGE_EXCEEDED", "INSUFFICIENT_ALLOWANCE", "OPERATOR_APPROVAL_REQUIRED", "INSUFFICIENT_DEPOSIT", "INSUFFICIENT_PULL", "SALE_PAUSED", "SALE_INVENTORY_SHORT", "QUOTE_MISMATCH", "INSUFFICIENT_PAYMENT_BALANCE", "PURCHASE_NOT_A_BUNDLE", "PURCHASE_CAP_EXCEEDED", "FILL_ALLOWANCE_EXHAUSTED", "SPONSORED_TRADING_PAUSED", "PASSKEY_REQUIRED", "ACCOUNT_RESTRICTED", "NOT_VERIFIED", "STAKE_REQUIRED", "STAKE_INTENT_INVALID", "INSUFFICIENT_PM_FOR_VOTE_STAKE", "STAKE_PULL_FAILED", "VERIFIED_HUMAN_REQUIRED", "CREATION_SLOTS_FULL", "CREATOR_NOT_ADMITTED", "CREATOR_CAPACITY_REACHED", "REPUTATION_TOO_LOW", "CONCURRENT_LIMIT_REACHED", "LIFETIME_LIMIT_REACHED", "CREATION_COOLDOWN_ACTIVE", "SEED_LIMIT_EXCEEDED", "DURATION_OUT_OF_RANGE", "ACTIVE_VERIFIED_IDENTITY_REQUIRED", "CURRENT_IDENTITY_MEMBERSHIP_REQUIRED", "AGENT_OPERATING_WALLET_NOT_LINKED", "IDENTITY_INTEGRITY_UNKNOWN", "PARTICIPATION_RELEASE_NOT_DEPLOYED", "PARTICIPATION_RELEASE_ROUTE_NOT_DEPLOYED", "PARTICIPATION_PROFILE_MISMATCH", "PARTICIPATION_RELEASE_INACTIVE", "PARTICIPATION_DISTRIBUTION_PAUSED", "PARTICIPATION_MONEY_PATH_INCOMPLETE", "PARTICIPATION_LEDGER_ACCOUNTING_INVALID", "PARTICIPATION_ROUTE_DEGRADED", "PARTICIPATION_ROUTE_QUARANTINED", "PARTICIPATION_INVENTORY_LOW", "NO_PARTICIPATION_RELEASE_CREDITS", "NEW_PARTICIPATION_RELEASE_UNITS_EXHAUSTED", "PARTICIPATION_CLAIM_CADENCE_ACTIVE", "PARTICIPATION_IDENTITY_ATTESTATION_REQUIRED", "PARTICIPATION_DISTRIBUTION_ZERO_DELTA", "PARTICIPATION_DISTRIBUTION_ALREADY_PREPARED", "PARTICIPATION_DISTRIBUTION_RECIPIENT_STALE", "PARTICIPATION_DISTRIBUTION_VOUCHER_EXPIRED", "PARTICIPATION_DISTRIBUTION_EVENT_MISMATCH", "PARTICIPATION_DISTRIBUTION_FINALITY_PENDING", "RATE_LIMITED", "INTERNAL_ERROR", "SERVICE_UNAVAILABLE", "ELIGIBILITY_UNDETERMINED", "COLLATERAL_CONFIGURATION_MISMATCH", "QUOTE_STATE_UNAVAILABLE", "PROTOCOL_UNAVAILABLE", "PROTOCOL_PAUSED", "VENUE_HALTED", "EMBED_ATTRIBUTION_UNAVAILABLE", "QUOTE_FAILED", "INVALID_MARKET_STATE", "MATH_OVERFLOW", "UNKNOWN_CONTRACT_ERROR", "DEADLINE_EXPIRED", "ZERO_INPUT", "ZERO_NET_INPUT", "ZERO_DELTA", "INVALID_MARKET", "INVALID_TOKEN", "NATIVE_ROUTE_UNAVAILABLE", "POST_ONLY_WOULD_CROSS", "FOK_UNFILLABLE", "CLORDID_CONFLICT", "QUOTE_SET_INVALID", "QUOTE_GENERATION_STALE", "ORDER_IN_FLIGHT", "MAKER_NOT_EXECUTABLE", "LIQUIDITY_CHANGED", "CANCELLATION_EVENT_NOT_FOUND", "CANCELLATION_EVENT_MISMATCH", "INVALID_NONCE_FLOOR", "NONCE_INVALIDATION_EVENT_NOT_FOUND", "NONCE_INVALIDATION_EVENT_MISMATCH", "INVALID_TX_HASH" ], "type": "string", "x-extensible-enum": true }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "MarketLifecycleStage": { "enum": [ "open", "closed", "result_proposed", "result_challenged", "vote_open", "vote_closed", "under_review", "resolved", "voided" ], "type": "string" }, "ReputationTier": { "enum": [ "banned", "new", "established", "trusted", "expert", "legend" ], "type": "string" }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/AgentMarketDetail" } }, "required": [ "result" ], "type": "object" } }, { "description": "Get price history + latest for a market. Window defaults to ALL; supports 1H, 1D, 1W.\n\nExamples: Read the 1D price history for a market", "inputSchema": { "properties": { "address": { "type": "string" }, "chainId": { "type": "number" }, "window": { "enum": [ "1H", "1D", "1W", "ALL" ], "type": "string" } }, "required": [ "address" ], "type": "object" }, "name": "problee_get_market_chart", "outputSchema": { "$defs": { "AgentMarketChartResponse": { "additionalProperties": false, "properties": { "latest": { "anyOf": [ { "$ref": "#/$defs/McpMarketPricePoint" }, { "type": "null" } ] }, "meta": { "additionalProperties": false, "properties": { "pointCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "pricingTimestampMs": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "snapshotUpdatedAtMs": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "type": "null" } ] } }, "required": [ "pointCount", "snapshotUpdatedAtMs", "pricingTimestampMs" ], "type": "object" }, "series": { "items": { "$ref": "#/$defs/McpMarketPricePoint" }, "type": "array" }, "window": { "enum": [ "1H", "1D", "1W", "ALL" ], "type": "string" } }, "required": [ "series", "latest", "window", "meta" ], "type": "object" }, "McpMarketPricePoint": { "additionalProperties": false, "properties": { "outcome1": { "type": "number" }, "outcome2": { "type": "number" }, "outcome3": { "type": "number" }, "pricingTimestampMs": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "timestamp": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "outcome1", "outcome2", "timestamp" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/AgentMarketChartResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "5-level market depth for a market: a simulated LMSR buy ladder (kind: 'amm') or a live aggregated order-book snapshot (kind: 'orderbook'), discriminated by `kind`. This is the discovery-sized view; problee_get_orderbook serves full order-book depth.", "inputSchema": { "$defs": { "EvmAddress": { "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" } }, "properties": { "address": { "$ref": "#/$defs/EvmAddress", "description": "Market contract address." }, "chainId": { "description": "Chain id; probes enabled chains if omitted.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "address" ], "type": "object" }, "name": "problee_get_market_depth", "outputSchema": { "$defs": { "ChainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "DepthQuote": { "additionalProperties": false, "properties": { "priceAfter": { "maximum": 1, "minimum": 0, "type": "number" }, "tokensOut": { "$ref": "#/$defs/WeiString" } }, "required": [ "tokensOut", "priceAfter" ], "type": "object" }, "DiscoverMarketDepthResponse": { "anyOf": [ { "additionalProperties": false, "properties": { "chainId": { "$ref": "#/$defs/ChainId" }, "currentPriceOutcome1": { "maximum": 1, "minimum": 0, "type": "number" }, "kind": { "const": "amm", "default": "amm", "type": "string" }, "levels": { "items": { "additionalProperties": false, "properties": { "amountWei": { "$ref": "#/$defs/WeiString" }, "outcome1": { "anyOf": [ { "$ref": "#/$defs/DepthQuote" }, { "type": "null" } ] }, "outcome2": { "anyOf": [ { "$ref": "#/$defs/DepthQuote" }, { "type": "null" } ] }, "size": { "type": "string" } }, "required": [ "size", "amountWei", "outcome1", "outcome2" ], "type": "object" }, "maxItems": 5, "type": "array" }, "marketAddress": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "kind", "marketAddress", "chainId", "levels", "currentPriceOutcome1" ], "type": "object" }, { "additionalProperties": false, "properties": { "asks": { "items": { "$ref": "#/$defs/OrderbookDepthLevel" }, "maxItems": 5, "type": "array" }, "bestAsk": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "bestBid": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "bids": { "items": { "$ref": "#/$defs/OrderbookDepthLevel" }, "maxItems": 5, "type": "array" }, "chainId": { "$ref": "#/$defs/ChainId" }, "currentPriceOutcome1": { "maximum": 1, "minimum": 0, "type": "number" }, "feePolicyVersion": { "enum": [ "notional-v1", "shares-v2" ], "type": "string" }, "kind": { "const": "orderbook", "type": "string" }, "marketAddress": { "$ref": "#/$defs/EvmAddress" }, "mid": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "seq": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "spread": { "anyOf": [ { "maximum": 1, "minimum": -1, "type": "number" }, { "type": "null" } ] }, "takerFeeBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "kind", "marketAddress", "chainId", "bids", "asks", "bestBid", "bestAsk", "spread", "mid", "currentPriceOutcome1", "seq", "takerFeeBps" ], "type": "object" } ] }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "OrderbookDepthLevel": { "additionalProperties": false, "properties": { "amountWei": { "$ref": "#/$defs/WeiString" }, "orderCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "price": { "maximum": 1, "minimum": 0, "type": "number" }, "priceBps": { "pattern": "^\\d+$", "type": "string" } }, "required": [ "price", "priceBps", "amountWei", "orderCount" ], "type": "object" }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverMarketDepthResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Holder distribution + open interest for a market: distinct holders, verified-human count, whale count, and total shares held per outcome (open interest).", "inputSchema": { "$defs": { "EvmAddress": { "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" } }, "properties": { "address": { "$ref": "#/$defs/EvmAddress", "description": "Market contract address." }, "chainId": { "description": "Chain id; probes enabled chains if omitted.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "address" ], "type": "object" }, "name": "problee_get_market_holders", "outputSchema": { "$defs": { "DiscoverMarketHoldersResponse": { "additionalProperties": false, "properties": { "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "holders": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "marketAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "openInterest": { "additionalProperties": false, "properties": { "outcome1": { "minimum": 0, "type": "number" }, "outcome2": { "minimum": 0, "type": "number" }, "outcome3": { "anyOf": [ { "minimum": 0, "type": "number" }, { "type": "null" } ] } }, "required": [ "outcome1", "outcome2", "outcome3" ], "type": "object" }, "verifiedHolders": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "whales": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "chainId", "marketAddress", "holders", "verifiedHolders", "whales", "openInterest" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverMarketHoldersResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Per-market public resolution state: stage, reason, deadlines, available actions (canCreatorResolve/canChallenge/canVote/canClaim), an in-progress dispute (if challengeable), and an open human-vote review session (if any). problee_get_market_state answers only the bare marketState enum; this is the richer resolution-pipeline view.", "inputSchema": { "$defs": { "EvmAddress": { "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" } }, "properties": { "address": { "$ref": "#/$defs/EvmAddress", "description": "Market contract address." }, "chainId": { "description": "Chain id; probes enabled chains if omitted.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "address" ], "type": "object" }, "name": "problee_get_market_resolution_state", "outputSchema": { "$defs": { "ChainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "DiscoverResolutionStateResponse": { "additionalProperties": false, "properties": { "actions": { "additionalProperties": false, "properties": { "canChallenge": { "type": "boolean" }, "canClaim": { "type": "boolean" }, "canCreatorResolve": { "type": "boolean" }, "canVote": { "type": "boolean" }, "creatorAddress": { "$ref": "#/$defs/EvmAddress" }, "reason": { "$ref": "#/$defs/ErrorReason" } }, "required": [ "canCreatorResolve", "canChallenge", "canVote", "canClaim" ], "type": "object" }, "chainId": { "$ref": "#/$defs/ChainId" }, "challengeBy": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "closeTime": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "councilReviewEndsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "creatorResolveBy": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "disputeAction": { "anyOf": [ { "additionalProperties": false, "properties": { "bondToken": { "additionalProperties": false, "properties": { "address": { "$ref": "#/$defs/EvmAddress" }, "chainId": { "$ref": "#/$defs/ChainId" }, "decimals": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "symbol": { "minLength": 1, "type": "string" } }, "required": [ "symbol", "address", "decimals", "chainId" ], "type": "object" }, "challengerBondWei": { "$ref": "#/$defs/WeiString" }, "confirmation": { "additionalProperties": false, "properties": { "endpoint": { "const": "/api/agent/v1/resolve/challenge", "type": "string" }, "method": { "const": "POST", "type": "string" } }, "required": [ "endpoint", "method" ], "type": "object" }, "currentRound": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "livenessEndsAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "preparation": { "additionalProperties": false, "properties": { "endpoint": { "const": "/api/agent/v1/resolve/challenge/prepare", "type": "string" }, "method": { "const": "POST", "type": "string" }, "options": { "additionalProperties": false, "properties": { "counterOutcomeOptions": { "items": { "anyOf": [ { "const": 1, "type": "number" }, { "const": 2, "type": "number" }, { "const": 3, "type": "number" } ] }, "minItems": 1, "type": "array" }, "market": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "market", "counterOutcomeOptions" ], "type": "object" }, "requiredInput": { "items": false, "maxItems": 3, "minItems": 3, "prefixItems": [ { "const": "marketAddress", "type": "string" }, { "const": "counterOutcome", "type": "string" }, { "const": "evidenceHash", "type": "string" } ], "type": "array" } }, "required": [ "endpoint", "method", "requiredInput", "options" ], "type": "object" }, "proposedOutcome": { "anyOf": [ { "const": 0, "type": "number" }, { "const": 1, "type": "number" }, { "const": 2, "type": "number" }, { "const": 3, "type": "number" } ] }, "proposerBondWei": { "$ref": "#/$defs/WeiString" } }, "required": [ "proposedOutcome", "livenessEndsAt", "currentRound", "proposerBondWei", "challengerBondWei", "bondToken", "preparation", "confirmation" ], "type": "object" }, { "type": "null" } ] }, "finalOutcome": { "anyOf": [ { "anyOf": [ { "const": 1, "type": "number" }, { "const": 2, "type": "number" }, { "const": 3, "type": "number" } ] }, { "type": "null" } ] }, "humanVote": { "additionalProperties": false, "properties": { "deadlineImmutable": { "const": true, "type": "boolean" }, "endsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "sessionId": { "type": [ "string", "null" ] }, "windowStartsAt": { "const": "session_open", "type": "string" } }, "required": [ "sessionId", "windowStartsAt", "deadlineImmutable", "endsAt" ], "type": "object" }, "lifecycleStage": { "$ref": "#/$defs/MarketLifecycleStage" }, "marketAddress": { "$ref": "#/$defs/EvmAddress" }, "marketState": { "enum": [ "open", "closed", "creator_proposal", "challenge", "human_voting", "council_review", "resolved", "void" ], "type": "string" }, "nextActionDeadline": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "resolutionStage": { "enum": [ "AWAITING_RESPONSE", "PROPOSED", "IN_DISPUTE", "IN_REVIEW", "RESOLVED", "CANCELLED", "PAUSED", "NOT_IN_RESOLUTION" ], "type": "string" }, "responseWindow": { "anyOf": [ { "additionalProperties": false, "properties": { "closeTime": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "creatorAddress": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "proposalEndpoints": { "additionalProperties": false, "properties": { "confirm": { "const": "/api/agent/v1/resolve/propose", "type": "string" }, "prepare": { "const": "/api/agent/v1/resolve/propose/prepare", "type": "string" } }, "required": [ "prepare", "confirm" ], "type": "object" }, "responseEndsAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "secondsUntilActionable": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" } }, "required": [ "creatorAddress", "closeTime", "responseEndsAt", "secondsUntilActionable", "proposalEndpoints" ], "type": "object" }, { "type": "null" } ] }, "reviewSession": { "anyOf": [ { "additionalProperties": false, "properties": { "quorumReached": { "type": "boolean" }, "quorumRequired": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "sessionId": { "type": "string" }, "state": { "enum": [ "open", "verdict" ], "type": "string" }, "verdict": { "anyOf": [ { "anyOf": [ { "const": 0, "type": "number" }, { "const": 1, "type": "number" }, { "const": 2, "type": "number" }, { "const": 3, "type": "number" } ] }, { "type": "null" } ] }, "verdictKind": { "anyOf": [ { "enum": [ "binding", "no_quorum", "deadlock" ], "type": "string" }, { "type": "null" } ] }, "voteCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "voteDeadline": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$", "type": "string" }, "voteEndpoints": { "additionalProperties": false, "properties": { "confirm": { "const": "/api/v1/human-vote/vote", "type": "string" }, "prepare": { "const": "/api/v1/human-vote/vote/prepare", "type": "string" } }, "required": [ "prepare", "confirm" ], "type": "object" } }, "required": [ "sessionId", "state", "voteDeadline", "voteCount", "quorumRequired", "quorumReached", "verdictKind", "verdict", "voteEndpoints" ], "type": "object" }, { "type": "null" } ] }, "stageDeadline": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "stageReason": { "enum": [ "waiting_for_response", "response_window_elapsed", "proposal_open", "dispute_open", "review_open", "review_complete", "resolved", "cancelled", "paused", "trading" ], "type": "string" }, "tradingEndsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] } }, "required": [ "marketAddress", "chainId", "marketState", "tradingEndsAt", "lifecycleStage", "stageDeadline", "resolutionStage", "stageReason", "closeTime", "creatorResolveBy", "challengeBy", "humanVote", "councilReviewEndsAt", "nextActionDeadline", "actions", "responseWindow", "disputeAction", "reviewSession", "finalOutcome" ], "type": "object" }, "ErrorReason": { "enum": [ "AUTH_REQUIRED", "WALLET_AUTH_REQUIRED", "WALLET_AUTH_INVALID", "INSUFFICIENT_TIER", "FORBIDDEN", "FEATURE_DISABLED", "SERVICE_UNAVAILABLE_IN_REGION", "NOT_ORB_VERIFIED", "NOT_AUTHORIZED", "NOT_MARKET_CREATOR", "CALLER_NOT_CREATOR", "AGENT_WALLET_CANNOT_VOTE", "WALLET_REQUIRED", "EMAIL_NOT_VERIFIED", "EMAIL_ALREADY_REGISTERED", "WALLET_ADDRESS_MISMATCH", "WALLET_PARAM_NOT_ALLOWED", "OWNER_ID_MISMATCH", "OWNERSHIP_MISMATCH", "OWNERSHIP_PROOF_REQUIRED", "WALLET_MISMATCH", "KEY_LIMIT_REACHED", "SCOPE_WIDENING_DENIED", "INVALID_REQUEST", "INVALID_PAYLOAD", "INVALID_QUERY", "INVALID_HEADER", "MISSING_FIELDS", "INVALID_ID", "INVALID_SCOPES", "INVALID_SPENDING_LIMIT", "INVALID_EXPIRES_AT", "INVALID_WEBHOOK_URL", "WEBHOOK_LIMIT_REACHED", "KEY_ALREADY_REVOKED", "MARKET_ID_REQUIRED", "INVALID_OUTCOME", "INVALID_CHAIN", "INVALID_COLLATERAL", "MISSING_COLLATERAL", "INVALID_QUESTION", "QUESTION_TOO_LONG", "INVALID_SNAPSHOT", "BATCH_TOO_LARGE", "MAX_DEPTH_EXCEEDED", "AMOUNT_ABOVE_MAXIMUM", "AMOUNT_BELOW_MINIMUM", "AMOUNT_BELOW_MINIMUM_FILL", "AMOUNT_NOT_MULTIPLE", "PRICE_OFF_TICK", "ORDER_EXPIRY_TOO_SOON", "BELOW_MINIMUM", "OUTCOME_UNKNOWN", "NOT_TWO_OUTCOMES", "EXPIRY_TOO_SOON", "MARKET_UNAVAILABLE", "TRADING_ENDED", "NO_LIQUIDITY", "INSUFFICIENT_BALANCE", "PAYLOAD_TOO_LARGE", "PRIVATE_MARKET", "INVALID_MARKET_REQUIRED", "INVALID_MARKET_PAIR", "PREFLIGHT_FAILED", "PROPOSAL_FAILED", "ACCEPT_FAILED", "REJECT_FAILED", "CONTENT_BLOCKED", "SECURITY_RISK_BLOCKED", "NO_PENDING_FEES", "BAD_REQUEST", "CORS_REJECTED", "UNSUPPORTED_CHAIN", "WORLD_ID_VERIFICATION_FAILED", "REVOCATION_REQUIRES_ROOT", "RECOVERY_REQUIRES_ROOT", "IDENTITY_ALREADY_ENROLLED", "RECOVERY_NOT_CONFIGURED", "RECOVERY_KEY_INVALID", "WORLD_ID_REVERIFICATION_REQUIRED", "ROOT_RECOVERY_COOLDOWN", "NOT_FOUND", "MARKET_NOT_FOUND", "MARKET_PRIOR_RELEASE", "AGENT_NOT_FOUND", "CHAIN_NOT_FOUND", "PARENT_NOT_FOUND", "FACTORY_NOT_DEPLOYED", "KEY_NOT_FOUND", "API_KEY_NOT_FOUND", "WEBHOOK_NOT_FOUND", "BUILDER_ID_NOT_FOUND", "NO_API_KEYS", "SEASON_NOT_FOUND", "COHORT_NOT_FOUND", "MARKET_CLOSED", "MARKET_NOT_OPEN_YET", "NOT_RESOLVABLE_YET", "EXPIRED_TOKEN", "ENDPOINT_RETIRED", "CONFLICT", "HEARTBEAT_SESSION_CONFLICT", "HEARTBEAT_SESSION_REVISION_EXHAUSTED", "SEASON_STATE_CONFLICT", "MARKET_NOT_LIVE", "MARKET_NOT_RESOLVED", "CONTENT_SEALED", "TIMING_SEALED", "STALE_UPDATE", "ALREADY_RESOLVED", "CREATOR_WINDOW_ELAPSED", "RELAY_REVERTED", "HUMAN_VOTE_ACTIVE", "CHALLENGE_WINDOW_CLOSED", "COUNCIL_REVIEW_ACTIVE", "MARKET_NOT_PENDING_RESOLUTION", "ALREADY_SWEPT", "SWEEP_IN_PROGRESS", "DUPLICATE_CONTENT", "AGENT_ALREADY_EXISTS", "NAME_TAKEN", "AMBIGUOUS_MARKET_ADDRESS", "IDEMPOTENCY_KEY_CONFLICT", "NONCE_REUSED", "KEY_GENERATION_CONFLICT", "MARKET_INSOLVENT", "SLIPPAGE_EXCEEDED", "INSUFFICIENT_ALLOWANCE", "OPERATOR_APPROVAL_REQUIRED", "INSUFFICIENT_DEPOSIT", "INSUFFICIENT_PULL", "SALE_PAUSED", "SALE_INVENTORY_SHORT", "QUOTE_MISMATCH", "INSUFFICIENT_PAYMENT_BALANCE", "PURCHASE_NOT_A_BUNDLE", "PURCHASE_CAP_EXCEEDED", "FILL_ALLOWANCE_EXHAUSTED", "SPONSORED_TRADING_PAUSED", "PASSKEY_REQUIRED", "ACCOUNT_RESTRICTED", "NOT_VERIFIED", "STAKE_REQUIRED", "STAKE_INTENT_INVALID", "INSUFFICIENT_PM_FOR_VOTE_STAKE", "STAKE_PULL_FAILED", "VERIFIED_HUMAN_REQUIRED", "CREATION_SLOTS_FULL", "CREATOR_NOT_ADMITTED", "CREATOR_CAPACITY_REACHED", "REPUTATION_TOO_LOW", "CONCURRENT_LIMIT_REACHED", "LIFETIME_LIMIT_REACHED", "CREATION_COOLDOWN_ACTIVE", "SEED_LIMIT_EXCEEDED", "DURATION_OUT_OF_RANGE", "ACTIVE_VERIFIED_IDENTITY_REQUIRED", "CURRENT_IDENTITY_MEMBERSHIP_REQUIRED", "AGENT_OPERATING_WALLET_NOT_LINKED", "IDENTITY_INTEGRITY_UNKNOWN", "PARTICIPATION_RELEASE_NOT_DEPLOYED", "PARTICIPATION_RELEASE_ROUTE_NOT_DEPLOYED", "PARTICIPATION_PROFILE_MISMATCH", "PARTICIPATION_RELEASE_INACTIVE", "PARTICIPATION_DISTRIBUTION_PAUSED", "PARTICIPATION_MONEY_PATH_INCOMPLETE", "PARTICIPATION_LEDGER_ACCOUNTING_INVALID", "PARTICIPATION_ROUTE_DEGRADED", "PARTICIPATION_ROUTE_QUARANTINED", "PARTICIPATION_INVENTORY_LOW", "NO_PARTICIPATION_RELEASE_CREDITS", "NEW_PARTICIPATION_RELEASE_UNITS_EXHAUSTED", "PARTICIPATION_CLAIM_CADENCE_ACTIVE", "PARTICIPATION_IDENTITY_ATTESTATION_REQUIRED", "PARTICIPATION_DISTRIBUTION_ZERO_DELTA", "PARTICIPATION_DISTRIBUTION_ALREADY_PREPARED", "PARTICIPATION_DISTRIBUTION_RECIPIENT_STALE", "PARTICIPATION_DISTRIBUTION_VOUCHER_EXPIRED", "PARTICIPATION_DISTRIBUTION_EVENT_MISMATCH", "PARTICIPATION_DISTRIBUTION_FINALITY_PENDING", "RATE_LIMITED", "INTERNAL_ERROR", "SERVICE_UNAVAILABLE", "ELIGIBILITY_UNDETERMINED", "COLLATERAL_CONFIGURATION_MISMATCH", "QUOTE_STATE_UNAVAILABLE", "PROTOCOL_UNAVAILABLE", "PROTOCOL_PAUSED", "VENUE_HALTED", "EMBED_ATTRIBUTION_UNAVAILABLE", "QUOTE_FAILED", "INVALID_MARKET_STATE", "MATH_OVERFLOW", "UNKNOWN_CONTRACT_ERROR", "DEADLINE_EXPIRED", "ZERO_INPUT", "ZERO_NET_INPUT", "ZERO_DELTA", "INVALID_MARKET", "INVALID_TOKEN", "NATIVE_ROUTE_UNAVAILABLE", "POST_ONLY_WOULD_CROSS", "FOK_UNFILLABLE", "CLORDID_CONFLICT", "QUOTE_SET_INVALID", "QUOTE_GENERATION_STALE", "ORDER_IN_FLIGHT", "MAKER_NOT_EXECUTABLE", "LIQUIDITY_CHANGED", "CANCELLATION_EVENT_NOT_FOUND", "CANCELLATION_EVENT_MISMATCH", "INVALID_NONCE_FLOOR", "NONCE_INVALIDATION_EVENT_NOT_FOUND", "NONCE_INVALIDATION_EVENT_MISMATCH", "INVALID_TX_HASH" ], "type": "string", "x-extensible-enum": true }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "MarketLifecycleStage": { "enum": [ "open", "closed", "result_proposed", "result_challenged", "vote_open", "vote_closed", "under_review", "resolved", "voided" ], "type": "string" }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverResolutionStateResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Get the canonical state and state evidence for a market", "inputSchema": { "properties": { "chainId": { "type": "number" }, "marketAddress": { "type": "string" } }, "required": [ "marketAddress" ], "type": "object" }, "name": "problee_get_market_state", "outputSchema": { "$defs": { "MarketLifecycleStage": { "enum": [ "open", "closed", "result_proposed", "result_challenged", "vote_open", "vote_closed", "under_review", "resolved", "voided" ], "type": "string" }, "McpMarketStateResponse": { "additionalProperties": false, "properties": { "market": { "additionalProperties": false, "properties": { "address": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "lifecycleStage": { "$ref": "#/$defs/MarketLifecycleStage" }, "marketState": { "enum": [ "open", "closed", "creator_proposal", "challenge", "human_voting", "council_review", "resolved", "void" ], "type": "string" }, "outcome": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "stageDeadline": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "tradingEndsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] } }, "required": [ "address", "marketState", "tradingEndsAt", "lifecycleStage", "stageDeadline", "outcome" ], "type": "object" } }, "required": [ "market" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/McpMarketStateResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Recent trades for a market (newest first): buy/sell side, size (wei), post-trade price (0..1), and the trader wallet.", "inputSchema": { "$defs": { "EvmAddress": { "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" } }, "properties": { "address": { "$ref": "#/$defs/EvmAddress", "description": "Market contract address." }, "chainId": { "description": "Chain id; probes enabled chains if omitted.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "limit": { "default": 20, "maximum": 100, "minimum": 1, "type": "integer" } }, "required": [ "address" ], "type": "object" }, "name": "problee_get_market_trades", "outputSchema": { "$defs": { "DiscoverMarketTradesResponse": { "additionalProperties": false, "properties": { "trades": { "items": { "additionalProperties": false, "properties": { "amount": { "$ref": "#/$defs/WeiString" }, "id": { "type": "string" }, "price": { "maximum": 1, "minimum": 0, "type": "number" }, "publicationState": { "anyOf": [ { "enum": [ "pending", "published", "finalized" ], "type": "string" }, { "type": "null" } ] }, "side": { "type": "string" }, "timestamp": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "trader": { "$ref": "#/$defs/EvmAddress" }, "txHash": { "type": [ "string", "null" ] } }, "required": [ "txHash", "timestamp", "side", "trader", "amount", "price" ], "type": "object" }, "type": "array" } }, "required": [ "trades" ], "type": "object" }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverMarketTradesResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Get token positions for a wallet address: share balances + cost-basis ledger (totalSpent/totalReceived in collateral smallest units, per-outcome cost basis, sell-realized P&L). Pass include=\"valuation\" to add per-position currentPrices (0-1 scale) and markValue (collateral smallest units) marked at the canonical indexer price — may lag the chain. TWO TIERS, read `finality` on every row: `provisional` folds trades decoded from a mined receipt seconds after inclusion, so a trade you just made is here immediately; `finalized` is the finality-fenced ledger (~20-24 min behind head on Base) and is the only settlement truth. Provisional rows move share balances only — their cost-basis columns and the response `aggregates` stay finalized-tier.", "inputSchema": { "properties": { "chainId": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "cursor": { "maxLength": 2048, "type": "string" }, "include": { "description": "Set to \"valuation\" to add currentPrices (0-1) and markValue per position.", "enum": [ "valuation" ], "type": "string" }, "limit": { "default": 100, "maximum": 100, "minimum": 1, "type": "integer" }, "marketAddress": { "type": "string" }, "walletAddress": { "type": "string" } }, "required": [ "walletAddress" ], "type": "object" }, "name": "problee_get_positions", "outputSchema": { "$defs": { "ExactTradingRatio": { "additionalProperties": false, "properties": { "denominator": { "maxLength": 4096, "pattern": "^[1-9][0-9]*$", "type": "string" }, "numerator": { "maxLength": 4096, "pattern": "^-?(0|[1-9][0-9]*)$", "type": "string" } }, "required": [ "numerator", "denominator" ], "type": "object" }, "IndexerReadMetadata": { "additionalProperties": false, "properties": { "degradedReason": { "anyOf": [ { "const": "INDEXER_UNHEALTHY", "type": "string" }, { "type": "null" } ] }, "finalizedThroughBlock": { "anyOf": [ { "pattern": "^\\d+$", "type": "string" }, { "type": "null" } ] }, "lastCheckedAt": { "anyOf": [ { "$ref": "#/$defs/IsoTimestamp" }, { "type": "null" } ] }, "minedTierAvailable": { "type": "boolean" }, "source": { "const": "indexer", "type": "string" }, "status": { "enum": [ "ok", "degraded" ], "type": "string" } }, "required": [ "source", "status", "lastCheckedAt", "degradedReason" ], "type": "object" }, "IsoTimestamp": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "PositionAggregates": { "additionalProperties": false, "properties": { "complete": { "const": true, "type": "boolean" }, "monetaryAttributionComplete": { "type": "boolean" }, "monetaryByCollateral": { "items": { "additionalProperties": false, "properties": { "basisMethod": { "anyOf": [ { "const": "inventory-weighted-average-v1", "type": "string" }, { "type": "null" } ] }, "chainId": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "collateralDecimals": { "maximum": 255, "minimum": 0, "type": "integer" }, "collateralToken": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "positionCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "realizedPnlBaseUnits": { "type": "null" }, "totalReceivedBaseUnits": { "$ref": "#/$defs/SignedWeiString" }, "totalSpentBaseUnits": { "$ref": "#/$defs/SignedWeiString" } }, "required": [ "chainId", "collateralToken", "collateralDecimals", "positionCount", "totalSpentBaseUnits", "totalReceivedBaseUnits", "realizedPnlBaseUnits" ], "type": "object" }, "type": "array" }, "nominalSharesRaw": { "additionalProperties": false, "properties": { "outcome1": { "$ref": "#/$defs/SignedWeiString" }, "outcome2": { "$ref": "#/$defs/SignedWeiString" }, "outcome3": { "$ref": "#/$defs/SignedWeiString" }, "scope": { "const": "cross_market_nominal", "type": "string" } }, "required": [ "outcome1", "outcome2", "outcome3", "scope" ], "type": "object" }, "source": { "const": "materialized_positions", "type": "string" }, "unattributedPositionCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "nominalSharesRaw", "monetaryByCollateral", "unattributedPositionCount", "monetaryAttributionComplete", "complete", "source" ], "type": "object" }, "PositionValuationItem": { "additionalProperties": false, "properties": { "currentPrices": { "anyOf": [ { "additionalProperties": false, "properties": { "outcome1": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "outcome2": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "outcome3": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] } }, "required": [ "outcome1", "outcome2" ], "type": "object" }, { "type": "null" } ] }, "markValue": { "anyOf": [ { "$ref": "#/$defs/WeiString" }, { "type": "null" } ] }, "status": { "enum": [ "available", "unavailable", "not_applicable" ], "type": "string" }, "updatedAt": { "anyOf": [ { "$ref": "#/$defs/IsoTimestamp" }, { "type": "null" } ] } }, "required": [ "status", "currentPrices", "markValue", "updatedAt" ], "type": "object" }, "PositionsResponse": { "additionalProperties": false, "properties": { "aggregates": { "$ref": "#/$defs/PositionAggregates" }, "hasMore": { "type": "boolean" }, "indexer": { "$ref": "#/$defs/IndexerReadMetadata" }, "nextCursor": { "type": [ "string", "null" ] }, "pageSize": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "positions": { "items": { "additionalProperties": {}, "properties": { "basisMethod": { "anyOf": [ { "const": "inventory-weighted-average-v1", "type": "string" }, { "type": "null" } ] }, "buySharesOutcome1": { "$ref": "#/$defs/WeiString" }, "buySharesOutcome2": { "$ref": "#/$defs/WeiString" }, "buySharesOutcome3": { "$ref": "#/$defs/WeiString" }, "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "costBasisOutcome1": { "$ref": "#/$defs/WeiString" }, "costBasisOutcome2": { "$ref": "#/$defs/WeiString" }, "costBasisOutcome3": { "$ref": "#/$defs/WeiString" }, "createdAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "format": "date-time", "type": "string" } ] }, "explorerUrl": { "format": "uri", "type": "string" }, "finality": { "$ref": "#/$defs/TradeFinality" }, "id": { "type": "string" }, "marketAddress": { "type": "string" }, "marketReference": { "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$", "type": "string" }, "outcome1Shares": { "$ref": "#/$defs/WeiString" }, "outcome2Shares": { "$ref": "#/$defs/WeiString" }, "outcome3Shares": { "$ref": "#/$defs/WeiString" }, "outcomes": { "items": { "additionalProperties": false, "properties": { "outcome": { "type": "string" }, "shares": { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" } }, "required": [ "outcome", "shares" ], "type": "object" }, "type": "array" }, "realizedPnl": { "anyOf": [ { "$ref": "#/$defs/SignedWeiString" }, { "type": "null" } ] }, "realizedPnlPm": { "anyOf": [ { "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" }, { "type": "null" } ] }, "remainingCostBasisOutcome1": { "anyOf": [ { "$ref": "#/$defs/WeiString" }, { "type": "null" } ] }, "remainingCostBasisOutcome2": { "anyOf": [ { "$ref": "#/$defs/WeiString" }, { "type": "null" } ] }, "remainingCostBasisOutcome3": { "anyOf": [ { "$ref": "#/$defs/WeiString" }, { "type": "null" } ] }, "totalReceived": { "$ref": "#/$defs/WeiString" }, "totalSpent": { "$ref": "#/$defs/WeiString" }, "tradingPerformance": { "anyOf": [ { "additionalProperties": false, "properties": { "basis": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "completeness": { "enum": [ "complete", "incomplete" ], "type": "string" }, "feesWei": { "anyOf": [ { "maxLength": 256, "pattern": "^-?(0|[1-9][0-9]*)$", "type": "string" }, { "type": "null" } ] }, "headlinePrice": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "markMethod": { "const": "displayed-market-price-v1", "type": "string" }, "measurement": { "additionalProperties": false, "properties": { "asOf": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "sourceRevision": { "type": "string" } }, "required": [ "asOf", "sourceRevision" ], "type": "object" }, "methodVersion": { "const": "committed-pm-trading-account-v2", "type": "string" }, "outcomes": { "items": { "additionalProperties": false, "properties": { "averagePrice": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "basis": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "markPrice": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "pnl": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "priceMovement": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "priceObservedAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "priceSource": { "type": [ "string", "null" ] }, "quantityWei": { "pattern": "^\\d+$", "type": "string" }, "side": { "maximum": 2, "minimum": 0, "type": "integer" }, "stale": { "type": "boolean" }, "state": { "enum": [ "Open", "Closed", "Won", "Lost", "Void" ], "type": "string" }, "value": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] } }, "required": [ "side", "quantityWei", "value", "basis", "pnl", "averagePrice", "markPrice", "state", "priceObservedAt", "priceSource", "stale" ], "type": "object" }, "type": "array" }, "ownershipAligned": { "type": "boolean" }, "pnl": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "realizedPnl": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "scope": { "const": "committed_trading_market", "type": "string" }, "settlementReceivedWei": { "anyOf": [ { "maxLength": 256, "pattern": "^-?(0|[1-9][0-9]*)$", "type": "string" }, { "type": "null" } ] }, "state": { "enum": [ "Open", "Closed", "Won", "Lost", "Void", "Mixed" ], "type": "string" }, "unavailableReasons": { "items": { "type": "string" }, "type": "array" }, "unit": { "additionalProperties": false, "properties": { "cashValue": { "const": false, "type": "boolean" }, "decimals": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "symbol": { "type": "string" } }, "required": [ "symbol", "decimals", "cashValue" ], "type": "object" }, "unrealizedPnl": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "value": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "volumeWei": { "anyOf": [ { "maxLength": 256, "pattern": "^-?(0|[1-9][0-9]*)$", "type": "string" }, { "type": "null" } ] } }, "required": [ "methodVersion", "markMethod", "unit", "scope", "measurement", "completeness", "unavailableReasons", "value", "basis", "pnl", "realizedPnl", "unrealizedPnl", "volumeWei", "feesWei", "state", "outcomes" ], "type": "object" }, { "type": "null" } ] }, "updatedAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "format": "date-time", "type": "string" } ] }, "userId": { "type": "string" }, "valuation": { "$ref": "#/$defs/PositionValuationItem" }, "valuePm": { "anyOf": [ { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" }, { "type": "null" } ] } }, "required": [ "marketAddress", "chainId" ], "type": "object" }, "type": "array" }, "total": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "positions", "total", "pageSize", "hasMore", "nextCursor", "aggregates" ], "type": "object" }, "SignedWeiString": { "pattern": "^-?\\d+$", "type": "string" }, "TradeFinality": { "enum": [ "provisional", "finalized" ], "type": "string" }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/PositionsResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Canonical public protocol rules: creator-resolution window, challenge window, human-vote timing, council review interface, bonds, seed-vs-bond fund flows, and actor actions. Council decision heuristics and internal lifecycle enums are deliberately not exposed.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_get_rules", "outputSchema": { "$defs": { "ProtocolRulesResponse": { "additionalProperties": false, "properties": { "actorModel": { "additionalProperties": false, "properties": { "challenge": { "additionalProperties": false, "properties": { "refusedAfterWindow": { "const": "CHALLENGE_WINDOW_CLOSED", "type": "string" }, "who": { "const": "eligible_challenger", "type": "string" }, "window": { "const": "proposal_created_to_challengeBy", "type": "string" } }, "required": [ "who", "window", "refusedAfterWindow" ], "type": "object" }, "council": { "additionalProperties": false, "properties": { "limits": { "items": { "enum": [ "cannot_act_before_human_vote_ends" ], "type": "string" }, "type": "array" }, "powers": { "items": { "enum": [ "decide_any_valid_outcome_after_human_vote", "void_after_human_vote", "restart_for_integrity" ], "type": "string" }, "type": "array" } }, "required": [ "powers", "limits" ], "type": "object" }, "creatorResolve": { "additionalProperties": false, "properties": { "refusedAfterWindow": { "const": "CREATOR_WINDOW_ELAPSED", "type": "string" }, "who": { "const": "market_creator", "type": "string" }, "window": { "const": "openTime_to_creatorResolveBy", "type": "string" } }, "required": [ "who", "window", "refusedAfterWindow" ], "type": "object" }, "vote": { "additionalProperties": false, "properties": { "unlinkedAgentWallets": { "const": "vote_by_staking", "type": "string" }, "who": { "const": "any_wallet_staked", "type": "string" } }, "required": [ "who", "unlinkedAgentWallets" ], "type": "object" } }, "required": [ "creatorResolve", "challenge", "vote", "council" ], "type": "object" }, "bonds": { "additionalProperties": false, "properties": { "challenger": { "const": "equals_market_protocol_creation_bond", "type": "string" }, "creator": { "additionalProperties": false, "properties": { "maxProtocolToken": { "anyOf": [ { "minimum": 0, "type": "number" }, { "type": "null" } ] }, "minProtocolToken": { "minimum": 0, "type": "number" }, "ratioOfSeed": { "minimum": 0, "type": "number" } }, "required": [ "ratioOfSeed", "minProtocolToken", "maxProtocolToken" ], "type": "object" } }, "required": [ "creator", "challenger" ], "type": "object" }, "deadlineFields": { "items": { "enum": [ "closeTime", "creatorResolveBy", "challengeBy", "humanVote.endsAt", "councilReviewEndsAt", "nextActionDeadline" ], "type": "string" }, "type": "array" }, "fundFlows": { "additionalProperties": false, "properties": { "challengerRight": { "additionalProperties": false, "properties": { "challenger": { "maximum": 1, "minimum": 0, "type": "number" }, "correctVoters": { "maximum": 1, "minimum": 0, "type": "number" }, "treasury": { "maximum": 1, "minimum": 0, "type": "number" } }, "required": [ "challenger", "treasury", "correctVoters" ], "type": "object" }, "challengerWrong": { "additionalProperties": false, "properties": { "correctVoters": { "maximum": 1, "minimum": 0, "type": "number" }, "creator": { "maximum": 1, "minimum": 0, "type": "number" }, "treasury": { "maximum": 1, "minimum": 0, "type": "number" } }, "required": [ "creator", "treasury", "correctVoters" ], "type": "object" }, "creatorMia": { "additionalProperties": false, "properties": { "miaKeeper": { "additionalProperties": false, "properties": { "capProtocolToken": { "minimum": 0, "type": "number" }, "shareBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "shareBps", "capProtocolToken" ], "type": "object" }, "seed": { "const": "not_slashed", "type": "string" }, "treasury": { "maximum": 1, "minimum": 0, "type": "number" }, "voterPool": { "const": "remainder_after_keeper_and_treasury", "type": "string" } }, "required": [ "miaKeeper", "treasury", "voterPool", "seed" ], "type": "object" }, "creatorResolvedUnchallenged": { "additionalProperties": false, "properties": { "bond": { "const": "returned", "type": "string" }, "seed": { "const": "sweepable_after_finality", "type": "string" } }, "required": [ "bond", "seed" ], "type": "object" } }, "required": [ "creatorResolvedUnchallenged", "challengerRight", "challengerWrong", "creatorMia" ], "type": "object" }, "references": { "additionalProperties": false, "properties": { "eligibility": { "const": "/discover/reputation", "type": "string" }, "fees": { "const": "/discover/fees", "type": "string" }, "marketStates": { "const": "/discover/market-states", "type": "string" }, "perMarketState": { "const": "/discover/markets/:address/resolution-state", "type": "string" } }, "required": [ "fees", "marketStates", "eligibility", "perMarketState" ], "type": "object" }, "resolution": { "additionalProperties": false, "properties": { "challengeWindow": { "additionalProperties": false, "properties": { "bond": { "const": "equals_market_protocol_creation_bond", "type": "string" }, "seconds": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "required": [ "seconds", "bond" ], "type": "object" }, "councilReview": { "additionalProperties": false, "properties": { "can": { "items": { "enum": [ "decide_any_valid_outcome_after_human_vote", "void_after_human_vote", "restart_for_integrity" ], "type": "string" }, "type": "array" }, "cannot": { "items": { "enum": [ "act_before_human_vote_ends" ], "type": "string" }, "type": "array" }, "seconds": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "silence": { "const": "unique_vote_result_else_neutral_void", "type": "string" }, "source": { "const": "signed_release_manifest", "type": "string" } }, "required": [ "seconds", "source", "can", "cannot", "silence" ], "type": "object" }, "creatorWindow": { "additionalProperties": false, "properties": { "deadlineAnchor": { "const": "closeTime", "type": "string" }, "graceSecondsAfterClose": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "onMiss": { "additionalProperties": false, "properties": { "bond": { "const": "creation_bond_slashed", "type": "string" }, "seed": { "const": "not_slashed_residual_sweepable_after_finality", "type": "string" }, "slashSplit": { "additionalProperties": false, "properties": { "miaKeeperBps": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "miaKeeperCapProtocolToken": { "minimum": 0, "type": "number" }, "treasury": { "maximum": 1, "minimum": 0, "type": "number" }, "voterPool": { "const": "remainder_after_keeper_and_treasury", "type": "string" } }, "required": [ "miaKeeperBps", "miaKeeperCapProtocolToken", "treasury", "voterPool" ], "type": "object" }, "state": { "const": "creator_mia", "type": "string" } }, "required": [ "state", "bond", "seed", "slashSplit" ], "type": "object" }, "startsAt": { "const": "openTime", "type": "string" } }, "required": [ "startsAt", "deadlineAnchor", "graceSecondsAfterClose", "onMiss" ], "type": "object" }, "humanVote": { "additionalProperties": false, "properties": { "ballotWeight": { "const": "one_staked_ballot_one_equal_vote", "type": "string" }, "deadlineImmutable": { "const": true, "type": "boolean" }, "eligibility": { "additionalProperties": false, "properties": { "allBallotsStaked": { "const": true, "type": "boolean" }, "correctStakeOutcome": { "const": "refunded_plus_share_of_slashed_stakes_and_reward_pool", "type": "string" }, "incorrectStakeOutcome": { "const": "slashed_to_session_correct_voters", "type": "string" }, "linkedAgentWalletsMayVoteForOwnIdentity": { "const": true, "type": "boolean" }, "nonBindingSessionStakeOutcome": { "const": "refunded_in_full", "type": "string" }, "oneBallotPerVoter": { "const": true, "type": "boolean" }, "oneVotePerVerifiedIdentity": { "const": true, "type": "boolean" }, "stakeSource": { "const": "economy.voting.unverifiedStakePm", "type": "string" }, "tierGateReference": { "const": "/discover/reputation", "type": "string" }, "unlinkedAgentWalletsRefused": { "const": false, "type": "boolean" }, "verifiedIdentityRequired": { "const": false, "type": "boolean" } }, "required": [ "verifiedIdentityRequired", "oneVotePerVerifiedIdentity", "linkedAgentWalletsMayVoteForOwnIdentity", "unlinkedAgentWalletsRefused", "allBallotsStaked", "stakeSource", "oneBallotPerVoter", "correctStakeOutcome", "incorrectStakeOutcome", "nonBindingSessionStakeOutcome", "tierGateReference" ], "type": "object" }, "quorum": { "additionalProperties": false, "properties": { "exposureMetric": { "const": "market_locked_collateral_wei", "type": "string" }, "highExposure": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "highExposureThresholds": { "items": { "additionalProperties": false, "properties": { "collateralAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "thresholdWei": { "pattern": "^[1-9][0-9]*$", "type": "string" } }, "required": [ "collateralAddress", "thresholdWei" ], "type": "object" }, "minItems": 1, "type": "array" }, "lowExposure": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "source": { "const": "signed_release_manifest", "type": "string" }, "thresholdPolicyHash": { "pattern": "^0x[0-9a-f]{64}$", "type": "string" } }, "required": [ "lowExposure", "highExposure", "exposureMetric", "highExposureThresholds", "thresholdPolicyHash", "source" ], "type": "object" }, "reputationAffectsTally": { "const": false, "type": "boolean" }, "result": { "additionalProperties": false, "properties": { "belowQuorum": { "const": "no_quorum", "type": "string" }, "tieAtQuorum": { "const": "deadlock", "type": "string" }, "uniqueHighestAtQuorum": { "const": "guidance_default_if_council_silent", "type": "string" } }, "required": [ "uniqueHighestAtQuorum", "tieAtQuorum", "belowQuorum" ], "type": "object" }, "sessions": { "const": 1, "type": "number" }, "windowSeconds": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "windowStartsAt": { "const": "session_open", "type": "string" } }, "required": [ "sessions", "windowSeconds", "windowStartsAt", "deadlineImmutable", "ballotWeight", "reputationAffectsTally", "quorum", "result", "eligibility" ], "type": "object" } }, "required": [ "creatorWindow", "challengeWindow", "humanVote", "councilReview" ], "type": "object" }, "rulesVersion": { "const": "2026-08-28-staked-voting-v1", "type": "string" } }, "required": [ "rulesVersion", "resolution", "bonds", "fundFlows", "actorModel", "deadlineFields", "references" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/ProtocolRulesResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Return the protocol server wall-clock time as Unix epoch milliseconds. Use before quoting to measure client clock skew. Unauthenticated.\n\nExamples: Current server epoch ms", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_get_server_time", "outputSchema": { "$defs": { "ServerTimeResponse": { "additionalProperties": false, "properties": { "serverTime": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "serverTime" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/ServerTimeResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Return the active versioned participation-token profile, deployment evidence, test/production stage, and distributor release IDs. This is separate from live market collateral discovery.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_get_token_release", "outputSchema": { "$defs": { "DiscoverTokenReleaseResponse": { "additionalProperties": false, "properties": { "deployed": { "type": "boolean" }, "distributors": { "items": { "additionalProperties": false, "properties": { "address": { "$ref": "#/$defs/EvmAddress" }, "chainId": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "deploymentBlockHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" }, "deploymentTxHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" }, "distributorEpoch": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "fromBlock": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "releaseId": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" }, "runtimeCodeHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" }, "tokenAddress": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "chainId", "address", "fromBlock", "deploymentTxHash", "deploymentBlockHash", "runtimeCodeHash", "releaseId", "distributorEpoch", "tokenAddress" ], "type": "object" }, "type": "array" }, "origin": { "anyOf": [ { "additionalProperties": false, "properties": { "address": { "$ref": "#/$defs/EvmAddress" }, "chainId": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "deploymentBlockHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" }, "deploymentTxHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" }, "fromBlock": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "runtimeCodeHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" } }, "required": [ "chainId", "address", "fromBlock", "deploymentTxHash", "deploymentBlockHash", "runtimeCodeHash" ], "type": "object" }, { "type": "null" } ] }, "profileId": { "minLength": 1, "type": "string" }, "representations": { "items": { "additionalProperties": false, "properties": { "address": { "$ref": "#/$defs/EvmAddress" }, "bridgeAdapterAddress": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "chainId": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "deploymentBlockHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" }, "deploymentTxHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" }, "fromBlock": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "originChainId": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "originTokenAddress": { "$ref": "#/$defs/EvmAddress" }, "runtimeCodeHash": { "pattern": "^0x[0-9a-fA-F]{64}$", "type": "string" } }, "required": [ "chainId", "address", "fromBlock", "deploymentTxHash", "deploymentBlockHash", "runtimeCodeHash", "originChainId", "originTokenAddress", "bridgeAdapterAddress" ], "type": "object" }, "type": "array" }, "stage": { "enum": [ "test", "production" ], "type": "string" }, "token": { "additionalProperties": false, "properties": { "decimals": { "maximum": 30, "minimum": 0, "type": "integer" }, "disclaimer": { "type": [ "string", "null" ] }, "logoPath": { "minLength": 1, "type": "string" }, "name": { "minLength": 1, "type": "string" }, "symbol": { "minLength": 1, "type": "string" }, "totalSupplyWei": { "pattern": "^\\d+$", "type": "string" } }, "required": [ "name", "symbol", "decimals", "totalSupplyWei", "logoPath", "disclaimer" ], "type": "object" } }, "required": [ "profileId", "stage", "deployed", "token", "origin", "representations", "distributors" ], "type": "object" }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverTokenReleaseResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Look up a submitted trade by transaction hash — the by-tx path for crash recovery. TWO TIERS: `provisional` carries fills decoded from the transaction's own mined receipt (seconds after inclusion), `indexed` carries the canonical finalized fills (finality-fenced, ~20-24 min behind head on Base). Every fill and the envelope itself carry `finality`. `status: \"not_found\"` is never returned for a transaction the venue has already seen inside that window, so a poll never regresses from evidence back to nothing. Act on provisional; settle on finalized.", "inputSchema": { "properties": { "chainId": { "description": "Active chain the transaction was broadcast on. Discover IDs via GET /discover/chains.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "txHash": { "description": "Transaction hash to look up (0x + 64 hex).", "type": "string" } }, "required": [ "txHash", "chainId" ], "type": "object" }, "name": "problee_get_trade_status", "outputSchema": { "$defs": { "AgentTradeFill": { "additionalProperties": false, "properties": { "batchNonce": { "anyOf": [ { "pattern": "^\\d+$", "type": "string" }, { "type": "null" } ] }, "batchTxHash": { "type": [ "string", "null" ] }, "chainId": { "$ref": "#/$defs/ChainId" }, "clOrdId": { "$ref": "#/$defs/OrderbookClOrdId" }, "collateralDelta": { "type": "string" }, "direction": { "enum": [ "buy", "sell", "redeem" ], "type": "string" }, "executionStatus": { "const": "executed", "type": "string" }, "explorerUrl": { "format": "uri", "type": "string" }, "feePaid": { "type": [ "string", "null" ] }, "finality": { "$ref": "#/$defs/TradeFinality" }, "id": { "type": "string" }, "liquidityRole": { "enum": [ "maker", "taker" ], "type": "string" }, "logicalTradeKey": { "type": "string" }, "marketAddress": { "$ref": "#/$defs/EvmAddress" }, "outcomeIndex": { "anyOf": [ { "const": 0, "type": "number" }, { "const": 1, "type": "number" }, { "const": 2, "type": "number" } ] }, "priceDecimal": { "type": "string" }, "priceE18": { "type": "string" }, "priceRaw": { "type": "string" }, "priceRawScale": { "enum": [ "fixed_1e18", "decimal_0_1" ], "type": "string" }, "principalReceipt": { "additionalProperties": false, "properties": { "authority": { "const": "committed_ledger", "type": "string" }, "collateralDelta": { "maxLength": 80, "pattern": "^-?\\d+$", "type": "string" }, "collateralEntryKey": { "anyOf": [ { "maxLength": 512, "minLength": 1, "type": "string" }, { "type": "null" } ] }, "feeEntryKey": { "anyOf": [ { "maxLength": 512, "minLength": 1, "type": "string" }, { "type": "null" } ] }, "feePaid": { "maxLength": 78, "pattern": "^\\d+$", "type": "string" }, "movementKey": { "maxLength": 512, "minLength": 1, "type": "string" }, "shareEntryKey": { "maxLength": 512, "minLength": 1, "type": "string" } }, "required": [ "authority", "movementKey", "collateralDelta", "feePaid", "shareEntryKey", "collateralEntryKey", "feeEntryKey" ], "type": "object" }, "publicationState": { "enum": [ "pending", "published", "finalized" ], "type": "string" }, "recordedOn": { "$ref": "#/$defs/RecordedOn" }, "settlementMode": { "enum": [ "committed", "onchain" ], "type": "string" }, "settlementState": { "$ref": "#/$defs/FillSettlementState" }, "sharesDelta": { "type": "string" }, "side": { "type": "string" }, "timestamp": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "format": "date-time", "type": "string" } ] }, "trader": { "$ref": "#/$defs/EvmAddress" }, "txHash": { "type": [ "string", "null" ] } }, "required": [ "chainId", "txHash", "id", "marketAddress", "trader", "side", "outcomeIndex", "direction", "sharesDelta", "collateralDelta", "priceRaw", "priceRawScale", "priceDecimal", "priceE18", "timestamp" ], "type": "object" }, "ChainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "FillSettlementState": { "enum": [ "pending", "committed", "finalized" ], "type": "string" }, "OrderbookClOrdId": { "maxLength": 200, "type": "string" }, "RecordedOn": { "additionalProperties": false, "properties": { "addressTransfersUrl": { "format": "uri", "type": "string" }, "explorer": { "maxLength": 32, "minLength": 1, "type": "string" }, "txUrl": { "format": "uri", "type": "string" }, "verifyUrl": { "format": "uri", "type": "string" } }, "required": [ "explorer" ], "type": "object" }, "TradeFinality": { "enum": [ "provisional", "finalized" ], "type": "string" }, "TradeStatusResponse": { "additionalProperties": false, "properties": { "chainId": { "$ref": "#/$defs/ChainId" }, "explorerUrl": { "format": "uri", "type": "string" }, "finality": { "$ref": "#/$defs/TradeFinality" }, "indexed": { "items": { "$ref": "#/$defs/AgentTradeFill" }, "type": "array" }, "pending": { "anyOf": [ { "additionalProperties": false, "properties": { "createdAt": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "marketAddress": { "$ref": "#/$defs/EvmAddress" }, "side": { "enum": [ "outcome1", "outcome2", "outcome3" ], "type": "string" }, "status": { "enum": [ "broadcasted", "mined" ], "type": "string" }, "userAddress": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "marketAddress", "userAddress", "status", "createdAt" ], "type": "object" }, { "type": "null" } ] }, "provisional": { "items": { "$ref": "#/$defs/AgentTradeFill" }, "type": "array" }, "status": { "enum": [ "indexed", "pending", "not_found" ], "type": "string" }, "txHash": { "type": "string" } }, "required": [ "txHash", "chainId", "status", "indexed", "pending" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/TradeStatusResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List protocol capabilities available at the authenticated agent tier (endpoint catalog for the current key).", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_list_capabilities", "outputSchema": { "$defs": { "DiscoverCapabilitiesResponse": { "additionalProperties": false, "properties": { "capabilities": { "items": { "additionalProperties": false, "properties": { "category": { "type": "string" }, "description": { "type": "string" }, "idempotent": { "type": "boolean" }, "method": { "enum": [ "GET", "POST", "PUT", "PATCH", "DELETE", "HEAD" ], "type": "string" }, "name": { "type": "string" }, "path": { "type": "string" }, "requiredTier": { "enum": [ "read-only", "propose", "execute" ], "type": "string" }, "surface": { "const": "agent", "type": "string" } }, "required": [ "name", "category", "requiredTier", "description", "method", "path", "idempotent", "surface" ], "type": "object" }, "type": "array" } }, "required": [ "capabilities" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverCapabilitiesResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List all supported blockchain networks", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_list_chains", "outputSchema": { "$defs": { "McpDiscoverChainsResponse": { "items": { "additionalProperties": false, "properties": { "blockExplorerUrl": { "format": "uri", "type": "string" }, "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "enabled": { "type": "boolean" }, "name": { "type": "string" }, "type": { "type": "string" } }, "required": [ "chainId", "name", "type", "blockExplorerUrl", "enabled" ], "type": "object" }, "type": "array" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/McpDiscoverChainsResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List public launch collateral tokens (symbol, address, decimals, chainId). chainId is optional only when exactly one chain is active.", "inputSchema": { "properties": { "chainId": { "description": "Optional only when exactly one chain is active; required when multiple chains are active.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" } }, "type": "object" }, "name": "problee_list_collateral", "outputSchema": { "$defs": { "DiscoverCollateralResponse": { "additionalProperties": false, "properties": { "tokens": { "items": { "additionalProperties": false, "properties": { "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "decimals": { "maximum": 30, "minimum": 0, "type": "integer" }, "enabled": { "type": "boolean" }, "settlement": { "enum": [ "onchain", "committed" ], "type": "string" }, "symbol": { "maxLength": 16, "minLength": 1, "type": "string" }, "token": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" } }, "required": [ "token", "symbol", "decimals", "chainId", "enabled" ], "type": "object" }, "type": "array" } }, "required": [ "tokens" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverCollateralResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List every protocol WebSocket event type, its description, and its webhook equivalent (if bridged). Full connection details live in problee_discover_events.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_list_event_types", "outputSchema": { "$defs": { "EventsTypesResponse": { "additionalProperties": false, "properties": { "activeConnections": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "discoveryEndpoint": { "const": "/api/agent/v1/events/discovery", "type": "string" }, "types": { "items": { "additionalProperties": false, "properties": { "description": { "type": "string" }, "transports": { "additionalProperties": false, "properties": { "webSocket": { "const": true, "type": "boolean" }, "webhook": { "anyOf": [ { "enum": [ "market.resolution_due", "market.resolved", "trade.executed", "trade.intent.created", "trade.submitted", "trade.indexed", "trade.failed", "execution.report", "market.live", "market.cancelled", "market.challengeWindowOpened", "market.voteOpened", "market.voteClosed", "market.disputed", "market.disputeFinalized", "market.councilReview" ], "type": "string" }, { "type": "null" } ] } }, "required": [ "webSocket", "webhook" ], "type": "object" }, "type": { "enum": [ "market.created", "market.live", "market.resolution_due", "market.challengeWindowOpened", "market.resolved", "market.cancelled", "market.controlsChanged", "market.disputed", "market.disputeFinalized", "market.voteOpened", "market.voteClosed", "market.councilReview", "negotiation.countered", "negotiation.accepted", "negotiation.rejected", "negotiation.expired" ], "type": "string" } }, "required": [ "type", "description", "transports" ], "type": "object" }, "type": "array" } }, "required": [ "types", "activeConnections", "discoveryEndpoint" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/EventsTypesResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Ranked public leaderboard — the same data human traders see. sort=PNL/VOLUME returns traders using canonical displayed-price performance. Legacy sort=RETURN aliases PNL; return percentage fields are null and no return is calculated. Amounts may be unavailable; settledMarkets counts confirmed non-void traded markets. RISK_ADJ_PNL is a legacy adapter; sort=CREATOR_QUALITY returns creators (track record + tier); sort=VOTERS returns voters. Every row carries the wallet and its black-box reputation tier.", "inputSchema": { "$defs": { "LeaderboardPeriod": { "description": "Window the board covers: `7d` is THIS CALENDAR WEEK (from Monday 00:00 UTC) and `30d` THIS CALENDAR MONTH — calendar windows since 2026-09-18, not trailing days; the keys are kept because this enum never renames a member. `all` is the life score, `season` the 2026 championship's fixed window, `season7d`/`season30d` the same calendar week and month clamped inside it. OPEN enum: windows are added over time — tolerate unseen values.", "enum": [ "7d", "30d", "all", "season", "season7d", "season30d" ], "type": "string", "x-extensible-enum": true }, "LeaderboardSort": { "description": "Board ordering. `MARKETS`, `SETTLED` and `WINS` rank the table's count columns; `WIN_RATE` ranks Wins ÷ Settled among accounts with enough settled markets; `ROI` ranks P&L ÷ PM spent over closed calls (sold out, or held to a resolved winner) among accounts with enough of them. Ties on any board are ordered by Volume, then P&L. OPEN enum: boards are added over time — tolerate unseen values.", "enum": [ "PNL", "VOLUME", "RISK_ADJ_PNL", "CREATOR_QUALITY", "VOTERS", "RETURN", "MARKETS", "SETTLED", "WINS", "WIN_RATE", "ROI" ], "type": "string", "x-extensible-enum": true }, "ServedCollateralSymbol": { "description": "Collateral symbol as this venue currently offers it. Read the live set from GET /markets/config or GET /discover/contracts rather than assuming the set in this document.", "maxLength": 16, "minLength": 1, "type": "string" } }, "properties": { "category": { "default": "ALL", "description": "Market category for PNL and VOLUME.", "enum": [ "ALL", "CRYPTO", "SPORTS", "POLITICS", "ELECTIONS", "FINANCE", "TECH", "WORLD", "ECONOMY", "CULTURE", "WEATHER", "SCIENCE_HEALTH", "AI", "GAMING", "BUSINESS", "FASHION", "MOVIES_TV", "MUSIC", "SHOPPING", "BEAUTY", "TRAVEL", "CLIMATE", "DAILY_LIFE", "LOCAL", "SOCIAL", "FUN", "OTHER" ], "type": "string" }, "collateral": { "$ref": "#/$defs/ServedCollateralSymbol", "description": "Collateral symbol whose board to read. Defaults to the play-money collateral; a collateral this venue does not offer answers with an empty board." }, "generation": { "description": "Pin the generation from the preceding leaderboard response.", "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "limit": { "default": 50, "maximum": 100, "minimum": 1, "type": "integer" }, "offset": { "default": 0, "maximum": 200, "minimum": 0, "type": "integer" }, "period": { "$ref": "#/$defs/LeaderboardPeriod", "default": "7d", "description": "7d, 30d, all (the life score), season — the 2026 championship window — or season7d / season30d, the rolling 7- and 30-day windows clamped inside the championship." }, "sort": { "$ref": "#/$defs/LeaderboardSort", "default": "PNL", "description": "PNL, VOLUME (traders). Legacy RETURN aliases PNL. RISK_ADJ_PNL is legacy. CREATOR_QUALITY (creators), or VOTERS." } }, "type": "object" }, "name": "problee_list_leaderboard", "outputSchema": { "$defs": { "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "ExactTradingRatio": { "additionalProperties": false, "properties": { "denominator": { "maxLength": 4096, "pattern": "^[1-9][0-9]*$", "type": "string" }, "numerator": { "maxLength": 4096, "pattern": "^-?(0|[1-9][0-9]*)$", "type": "string" } }, "required": [ "numerator", "denominator" ], "type": "object" }, "LeaderboardMeasurement": { "additionalProperties": false, "properties": { "asOf": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$", "type": "string" }, "availableAccounts": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "category": { "type": "string" }, "evaluatedAccounts": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "generation": { "type": "string" }, "markMethod": { "const": "displayed-market-price-v1", "type": "string" }, "methodVersion": { "const": "committed-pm-trading-account-v2", "type": "string" }, "period": { "additionalProperties": false, "properties": { "end": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$", "type": "string" }, "kind": { "$ref": "#/$defs/LeaderboardPeriod" }, "start": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$", "type": "string" } }, "required": [ "kind", "start", "end" ], "type": "object" }, "scope": { "enum": [ "committed_trading_account", "committed_trading_category" ], "type": "string" }, "sort": { "enum": [ "PNL", "VOLUME", "RISK_ADJ_PNL", "CREATOR_QUALITY", "VOTERS", "RETURN", "MARKETS", "SETTLED", "WINS", "WIN_RATE", "ROI" ], "type": "string", "x-extensible-enum": true }, "stale": { "type": "boolean" }, "unit": { "additionalProperties": false, "properties": { "cashValue": { "const": false, "type": "boolean" }, "decimals": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "symbol": { "type": "string" } }, "required": [ "symbol", "decimals", "cashValue" ], "type": "object" } }, "required": [ "methodVersion", "markMethod", "unit", "scope", "category", "sort", "generation", "period", "asOf", "stale", "evaluatedAccounts", "availableAccounts" ], "type": "object" }, "LeaderboardPeriod": { "enum": [ "7d", "30d", "all", "season", "season7d", "season30d" ], "type": "string", "x-extensible-enum": true }, "LeaderboardResponse": { "anyOf": [ { "additionalProperties": false, "properties": { "hasMore": { "type": "boolean" }, "measurement": { "$ref": "#/$defs/LeaderboardMeasurement" }, "minClosedCallsToRank": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "minSettledMarketsToRank": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "period": { "$ref": "#/$defs/LeaderboardPeriod" }, "total": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "traders": { "items": { "additionalProperties": false, "properties": { "address": { "$ref": "#/$defs/EvmAddress" }, "closedCalls": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "identity": { "anyOf": [ { "$ref": "#/$defs/WalletIdentity" }, { "type": "null" } ] }, "losses": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "marketsTraded": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "performance": { "additionalProperties": false, "properties": { "pnl": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "return": { "anyOf": [ { "$ref": "#/$defs/ExactTradingRatio" }, { "type": "null" } ] }, "volumeWei": { "anyOf": [ { "maxLength": 256, "pattern": "^-?(0|[1-9][0-9]*)$", "type": "string" }, { "type": "null" } ] } }, "required": [ "pnl", "return", "volumeWei" ], "type": "object" }, "pnl": { "anyOf": [ { "pattern": "^-?\\d+(?:\\.\\d+)?$", "type": "string" }, { "type": "null" } ] }, "rank": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "reputationTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "returnPercent": { "anyOf": [ { "pattern": "^-?\\d+(?:\\.\\d+)?$", "type": "string" }, { "type": "null" } ] }, "riskAdjustedPnl": { "pattern": "^-?\\d+(?:\\.\\d+)?$", "type": "string" }, "roiPercent": { "anyOf": [ { "pattern": "^-?\\d+(?:\\.\\d+)?$", "type": "string" }, { "type": "null" } ] }, "settledMarkets": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "sourceRevision": { "type": "string" }, "unavailableReasons": { "items": { "type": "string" }, "type": "array" }, "volume": { "anyOf": [ { "pattern": "^\\d+(?:\\.\\d+)?$", "type": "string" }, { "type": "null" } ] }, "winRate": { "anyOf": [ { "maximum": 100, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "wins": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "type": "null" } ] } }, "required": [ "rank", "address", "pnl", "volume", "marketsTraded", "wins", "losses", "winRate", "reputationTier" ], "type": "object" }, "type": "array" }, "updatedAt": { "type": [ "string", "null" ] } }, "required": [ "updatedAt", "total", "hasMore", "traders" ], "type": "object" }, { "additionalProperties": false, "properties": { "creators": { "items": { "additionalProperties": false, "properties": { "address": { "$ref": "#/$defs/EvmAddress" }, "cleanResolutionRate": { "anyOf": [ { "maximum": 100, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "identity": { "anyOf": [ { "$ref": "#/$defs/WalletIdentity" }, { "type": "null" } ] }, "marketsCreated": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "marketsOverturned": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "marketsVoided": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "rank": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "reputationTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "resolvedCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "tier": { "$ref": "#/$defs/ReputationTier" }, "upheldRate": { "anyOf": [ { "maximum": 100, "minimum": 0, "type": "number" }, { "type": "null" } ] } }, "required": [ "rank", "address", "tier", "marketsCreated", "resolvedCount", "marketsVoided", "marketsOverturned", "upheldRate", "cleanResolutionRate", "reputationTier" ], "type": "object" }, "type": "array" }, "generatedAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$", "type": "string" }, "hasMore": { "type": "boolean" }, "measurement": { "$ref": "#/$defs/LeaderboardMeasurement" }, "period": { "$ref": "#/$defs/LeaderboardPeriod" }, "total": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "updatedAt": { "type": [ "string", "null" ] } }, "required": [ "updatedAt", "total", "hasMore", "creators" ], "type": "object" }, { "additionalProperties": false, "properties": { "generatedAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$", "type": "string" }, "hasMore": { "type": "boolean" }, "measurement": { "$ref": "#/$defs/LeaderboardMeasurement" }, "period": { "$ref": "#/$defs/LeaderboardPeriod" }, "total": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "updatedAt": { "type": [ "string", "null" ] }, "voters": { "items": { "additionalProperties": false, "properties": { "accuracy": { "anyOf": [ { "maximum": 100, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "address": { "$ref": "#/$defs/EvmAddress" }, "correctCount": { "anyOf": [ { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "identity": { "anyOf": [ { "$ref": "#/$defs/WalletIdentity" }, { "type": "null" } ] }, "rank": { "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "reputationTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "rewardTotal": { "type": "string" }, "voteCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "rank", "address", "rewardTotal", "voteCount", "correctCount", "accuracy", "reputationTier" ], "type": "object" }, "type": "array" } }, "required": [ "updatedAt", "total", "hasMore", "voters" ], "type": "object" } ] }, "ReputationTier": { "enum": [ "banned", "new", "established", "trusted", "expert", "legend" ], "type": "string" }, "WalletIdentity": { "additionalProperties": false, "properties": { "actorType": { "anyOf": [ { "enum": [ "human", "agent", "venue" ], "type": "string" }, { "type": "null" } ] }, "avatarUrl": { "type": [ "string", "null" ] }, "displayName": { "type": [ "string", "null" ] }, "generatedName": { "type": [ "string", "null" ] } }, "required": [ "displayName", "generatedName", "avatarUrl" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/LeaderboardResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "Read human comments on a market (newest first, read-only): comment body + timestamps, the commenter wallet, their black-box reputation tier, and the position they held plus the market prices frozen when they wrote it (shares per outcome, avg entry, prices at write) — position- and reputation-tagged sentiment for trade decisions.", "inputSchema": { "$defs": { "EvmAddress": { "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" } }, "properties": { "address": { "$ref": "#/$defs/EvmAddress", "description": "Market contract address." }, "cursor": { "description": "nextCursor from a prior call.", "format": "uuid", "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$", "type": "string" }, "limit": { "default": 20, "maximum": 50, "minimum": 1, "type": "integer" } }, "required": [ "address" ], "type": "object" }, "name": "problee_list_market_comments", "outputSchema": { "$defs": { "CommentPositionSnapshot": { "additionalProperties": false, "properties": { "avgEntry": { "additionalProperties": false, "properties": { "outcome1": { "type": [ "number", "null" ] }, "outcome2": { "type": [ "number", "null" ] }, "outcome3": { "type": [ "number", "null" ] } }, "required": [ "outcome1", "outcome2" ], "type": "object" }, "capturedAt": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "collateralDecimals": { "maximum": 36, "minimum": 0, "type": "integer" }, "outcome1Shares": { "$ref": "#/$defs/WeiString" }, "outcome2Shares": { "$ref": "#/$defs/WeiString" }, "outcome3Shares": { "$ref": "#/$defs/WeiString" }, "prices": { "anyOf": [ { "additionalProperties": false, "properties": { "outcome1": { "type": "number" }, "outcome2": { "type": "number" }, "outcome3": { "type": "number" }, "pricingTimestampMs": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] } }, "required": [ "outcome1", "outcome2", "pricingTimestampMs" ], "type": "object" }, { "type": "null" } ] }, "v": { "const": 1, "type": "number" } }, "required": [ "v", "capturedAt", "collateralDecimals", "outcome1Shares", "outcome2Shares", "outcome3Shares", "avgEntry", "prices" ], "type": "object" }, "DiscoverMarketCommentsResponse": { "additionalProperties": false, "properties": { "comments": { "items": { "additionalProperties": false, "properties": { "authorReputationTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "content": { "type": "string" }, "createdAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "id": { "type": "string" }, "positionSnapshot": { "anyOf": [ { "$ref": "#/$defs/CommentPositionSnapshot" }, { "type": "null" } ] }, "reactionCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "replies": { "items": { "additionalProperties": false, "properties": { "authorReputationTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "content": { "type": "string" }, "createdAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "id": { "type": "string" }, "positionSnapshot": { "anyOf": [ { "$ref": "#/$defs/CommentPositionSnapshot" }, { "type": "null" } ] }, "updatedAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "walletAddress": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "id", "walletAddress", "content", "createdAt", "updatedAt", "authorReputationTier", "positionSnapshot" ], "type": "object" }, "type": "array" }, "replyCount": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }, "updatedAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "walletAddress": { "$ref": "#/$defs/EvmAddress" } }, "required": [ "id", "walletAddress", "content", "createdAt", "updatedAt", "authorReputationTier", "positionSnapshot", "reactionCount", "replyCount", "replies" ], "type": "object" }, "type": "array" }, "hasMore": { "type": "boolean" }, "nextCursor": { "type": [ "string", "null" ] }, "total": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" } }, "required": [ "comments", "nextCursor", "hasMore" ], "type": "object" }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "ReputationTier": { "enum": [ "banned", "new", "established", "trusted", "expert", "legend" ], "type": "string" }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverMarketCommentsResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List prediction markets on Problee. Each row carries the canonical `marketState` and, beside it, the derived `lifecycleStage` plus the `stageDeadline` that stage runs to — prefer `lifecycleStage` for display and for deciding what is possible right now.\n\nExamples: List live CRYPTO markets on Base", "inputSchema": { "$defs": { "EvmAddress": { "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "MarketState": { "description": "Canonical market state shared by every protocol surface.", "enum": [ "open", "closed", "creator_proposal", "challenge", "human_voting", "council_review", "resolved", "void" ], "type": "string" } }, "properties": { "category": { "enum": [ "CRYPTO", "SPORTS", "POLITICS", "ELECTIONS", "FINANCE", "TECH", "WORLD", "ECONOMY", "CULTURE", "WEATHER", "SCIENCE_HEALTH", "AI", "GAMING", "BUSINESS", "FASHION", "MOVIES_TV", "MUSIC", "SHOPPING", "BEAUTY", "TRAVEL", "CLIMATE", "DAILY_LIFE", "LOCAL", "SOCIAL", "FUN", "OTHER" ], "type": "string" }, "chainId": { "type": "number" }, "creator": { "$ref": "#/$defs/EvmAddress", "description": "Filter to markets whose on-chain creator wallet matches this address." }, "cursor": { "description": "Keyset cursor from a prior response nextCursor.", "type": "string" }, "marketState": { "$ref": "#/$defs/MarketState", "description": "Exact canonical market-state filter." }, "pageSize": { "default": 20, "maximum": 100, "minimum": 1, "type": "integer" }, "pricingModel": { "description": "Filter by pricing engine: 'ORDERBOOK' = central limit order book markets; 'automated' = automated-market-maker markets.", "enum": [ "automated", "ORDERBOOK" ], "type": "string" }, "search": { "description": "Free-text search over the market question.", "maxLength": 200, "minLength": 2, "type": "string" }, "sort": { "default": "new", "description": "Sort order. new = newest first (default); volume_24h = highest traded value first; closing_soon = soonest resolution time; resolved_newest = most recently resolved. The keyset `cursor` only applies to `new`.", "enum": [ "new", "volume_24h", "closing_soon", "resolved_newest" ], "type": "string" } }, "type": "object" }, "name": "problee_list_markets", "outputSchema": { "$defs": { "DiscoverMarketsResponse": { "additionalProperties": false, "properties": { "hasMore": { "type": "boolean" }, "markets": { "items": { "additionalProperties": false, "properties": { "actions": { "additionalProperties": false, "properties": { "canChallenge": { "type": "boolean" }, "canClaim": { "type": "boolean" }, "canCreatorResolve": { "type": "boolean" }, "canVote": { "type": "boolean" }, "creatorAddress": { "$ref": "#/$defs/EvmAddress" }, "reason": { "$ref": "#/$defs/ErrorReason" } }, "required": [ "canCreatorResolve", "canChallenge", "canVote", "canClaim" ], "type": "object" }, "address": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "category": { "enum": [ "CRYPTO", "SPORTS", "POLITICS", "ELECTIONS", "FINANCE", "TECH", "WORLD", "ECONOMY", "CULTURE", "WEATHER", "SCIENCE_HEALTH", "AI", "GAMING", "BUSINESS", "FASHION", "MOVIES_TV", "MUSIC", "SHOPPING", "BEAUTY", "TRAVEL", "CLIMATE", "DAILY_LIFE", "LOCAL", "SOCIAL", "FUN", "OTHER" ], "type": "string", "x-extensible-enum": true }, "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "challengeBy": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "closeTime": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "collateralToken": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "councilReviewEndsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "createdAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "createdBy": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "creatorAgentId": { "type": [ "string", "null" ] }, "creatorResolveBy": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "creatorTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "finality": { "enum": [ "pending", "finalized" ], "type": "string" }, "geo": { "anyOf": [ { "additionalProperties": false, "properties": { "countryCode": { "type": [ "string", "null" ] }, "derivation": { "anyOf": [ { "enum": [ "explicit", "entity_hq" ], "type": "string" }, { "type": "null" } ] }, "lat": { "type": [ "number", "null" ] }, "lon": { "type": [ "number", "null" ] }, "place": { "type": [ "string", "null" ] }, "scope": { "enum": [ "city", "region", "country", "global" ], "type": "string" } }, "required": [ "scope", "countryCode", "place", "lat", "lon", "derivation" ], "type": "object" }, { "type": "null" } ] }, "humanVote": { "additionalProperties": false, "properties": { "deadlineImmutable": { "const": true, "type": "boolean" }, "endsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "sessionId": { "type": [ "string", "null" ] }, "windowStartsAt": { "const": "session_open", "type": "string" } }, "required": [ "sessionId", "windowStartsAt", "deadlineImmutable", "endsAt" ], "type": "object" }, "id": { "type": "string" }, "isTernary": { "type": "boolean" }, "jurorTier": { "anyOf": [ { "$ref": "#/$defs/ReputationTier" }, { "type": "null" } ] }, "language": { "type": [ "string", "null" ] }, "lifecycleStage": { "$ref": "#/$defs/MarketLifecycleStage" }, "marketReference": { "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$", "type": "string" }, "marketState": { "enum": [ "open", "closed", "creator_proposal", "challenge", "human_voting", "council_review", "resolved", "void" ], "type": "string" }, "marketType": { "type": "string" }, "nextActionDeadline": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "openTime": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "outcome": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "outcomes": { "items": { "additionalProperties": false, "properties": { "label": { "type": "string" }, "pricePercent": { "anyOf": [ { "maximum": 100, "minimum": 0, "type": "number" }, { "type": "null" } ] } }, "required": [ "label", "pricePercent" ], "type": "object" }, "maxItems": 3, "minItems": 2, "type": "array" }, "prices": { "additionalProperties": false, "properties": { "outcome1": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "outcome2": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] }, "outcome3": { "anyOf": [ { "maximum": 1, "minimum": 0, "type": "number" }, { "type": "null" } ] } }, "type": "object" }, "pricingModel": { "type": [ "string", "null" ] }, "question": { "type": "string" }, "resolutionCriteria": { "type": [ "string", "null" ] }, "resolutionSource": { "anyOf": [ { "additionalProperties": {}, "propertyNames": { "type": "string" }, "type": "object" }, { "type": "null" } ] }, "resolutionTime": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "settlement": { "enum": [ "onchain", "committed" ], "type": "string" }, "stageDeadline": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "supportsVoid": { "type": "boolean" }, "tradingEndsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "volume": { "$ref": "#/$defs/WeiString" }, "volume24h": { "$ref": "#/$defs/WeiString" }, "volumePm": { "additionalProperties": false, "properties": { "last24hPm": { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" }, "lifetimePm": { "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$", "type": "string" } }, "required": [ "lifetimePm", "last24hPm" ], "type": "object" } }, "required": [ "id", "address", "chainId", "question", "category", "marketState", "tradingEndsAt", "lifecycleStage", "stageDeadline", "isTernary", "outcome", "marketType", "finality", "pricingModel", "openTime", "closeTime", "resolutionTime", "creatorResolveBy", "challengeBy", "humanVote", "councilReviewEndsAt", "nextActionDeadline", "actions", "createdAt", "collateralToken", "language", "volume" ], "type": "object" }, "type": "array" }, "nextCursor": { "type": [ "string", "null" ] } }, "required": [ "markets", "hasMore", "nextCursor" ], "type": "object" }, "ErrorReason": { "enum": [ "AUTH_REQUIRED", "WALLET_AUTH_REQUIRED", "WALLET_AUTH_INVALID", "INSUFFICIENT_TIER", "FORBIDDEN", "FEATURE_DISABLED", "SERVICE_UNAVAILABLE_IN_REGION", "NOT_ORB_VERIFIED", "NOT_AUTHORIZED", "NOT_MARKET_CREATOR", "CALLER_NOT_CREATOR", "AGENT_WALLET_CANNOT_VOTE", "WALLET_REQUIRED", "EMAIL_NOT_VERIFIED", "EMAIL_ALREADY_REGISTERED", "WALLET_ADDRESS_MISMATCH", "WALLET_PARAM_NOT_ALLOWED", "OWNER_ID_MISMATCH", "OWNERSHIP_MISMATCH", "OWNERSHIP_PROOF_REQUIRED", "WALLET_MISMATCH", "KEY_LIMIT_REACHED", "SCOPE_WIDENING_DENIED", "INVALID_REQUEST", "INVALID_PAYLOAD", "INVALID_QUERY", "INVALID_HEADER", "MISSING_FIELDS", "INVALID_ID", "INVALID_SCOPES", "INVALID_SPENDING_LIMIT", "INVALID_EXPIRES_AT", "INVALID_WEBHOOK_URL", "WEBHOOK_LIMIT_REACHED", "KEY_ALREADY_REVOKED", "MARKET_ID_REQUIRED", "INVALID_OUTCOME", "INVALID_CHAIN", "INVALID_COLLATERAL", "MISSING_COLLATERAL", "INVALID_QUESTION", "QUESTION_TOO_LONG", "INVALID_SNAPSHOT", "BATCH_TOO_LARGE", "MAX_DEPTH_EXCEEDED", "AMOUNT_ABOVE_MAXIMUM", "AMOUNT_BELOW_MINIMUM", "AMOUNT_BELOW_MINIMUM_FILL", "AMOUNT_NOT_MULTIPLE", "PRICE_OFF_TICK", "ORDER_EXPIRY_TOO_SOON", "BELOW_MINIMUM", "OUTCOME_UNKNOWN", "NOT_TWO_OUTCOMES", "EXPIRY_TOO_SOON", "MARKET_UNAVAILABLE", "TRADING_ENDED", "NO_LIQUIDITY", "INSUFFICIENT_BALANCE", "PAYLOAD_TOO_LARGE", "PRIVATE_MARKET", "INVALID_MARKET_REQUIRED", "INVALID_MARKET_PAIR", "PREFLIGHT_FAILED", "PROPOSAL_FAILED", "ACCEPT_FAILED", "REJECT_FAILED", "CONTENT_BLOCKED", "SECURITY_RISK_BLOCKED", "NO_PENDING_FEES", "BAD_REQUEST", "CORS_REJECTED", "UNSUPPORTED_CHAIN", "WORLD_ID_VERIFICATION_FAILED", "REVOCATION_REQUIRES_ROOT", "RECOVERY_REQUIRES_ROOT", "IDENTITY_ALREADY_ENROLLED", "RECOVERY_NOT_CONFIGURED", "RECOVERY_KEY_INVALID", "WORLD_ID_REVERIFICATION_REQUIRED", "ROOT_RECOVERY_COOLDOWN", "NOT_FOUND", "MARKET_NOT_FOUND", "MARKET_PRIOR_RELEASE", "AGENT_NOT_FOUND", "CHAIN_NOT_FOUND", "PARENT_NOT_FOUND", "FACTORY_NOT_DEPLOYED", "KEY_NOT_FOUND", "API_KEY_NOT_FOUND", "WEBHOOK_NOT_FOUND", "BUILDER_ID_NOT_FOUND", "NO_API_KEYS", "SEASON_NOT_FOUND", "COHORT_NOT_FOUND", "MARKET_CLOSED", "MARKET_NOT_OPEN_YET", "NOT_RESOLVABLE_YET", "EXPIRED_TOKEN", "ENDPOINT_RETIRED", "CONFLICT", "HEARTBEAT_SESSION_CONFLICT", "HEARTBEAT_SESSION_REVISION_EXHAUSTED", "SEASON_STATE_CONFLICT", "MARKET_NOT_LIVE", "MARKET_NOT_RESOLVED", "CONTENT_SEALED", "TIMING_SEALED", "STALE_UPDATE", "ALREADY_RESOLVED", "CREATOR_WINDOW_ELAPSED", "RELAY_REVERTED", "HUMAN_VOTE_ACTIVE", "CHALLENGE_WINDOW_CLOSED", "COUNCIL_REVIEW_ACTIVE", "MARKET_NOT_PENDING_RESOLUTION", "ALREADY_SWEPT", "SWEEP_IN_PROGRESS", "DUPLICATE_CONTENT", "AGENT_ALREADY_EXISTS", "NAME_TAKEN", "AMBIGUOUS_MARKET_ADDRESS", "IDEMPOTENCY_KEY_CONFLICT", "NONCE_REUSED", "KEY_GENERATION_CONFLICT", "MARKET_INSOLVENT", "SLIPPAGE_EXCEEDED", "INSUFFICIENT_ALLOWANCE", "OPERATOR_APPROVAL_REQUIRED", "INSUFFICIENT_DEPOSIT", "INSUFFICIENT_PULL", "SALE_PAUSED", "SALE_INVENTORY_SHORT", "QUOTE_MISMATCH", "INSUFFICIENT_PAYMENT_BALANCE", "PURCHASE_NOT_A_BUNDLE", "PURCHASE_CAP_EXCEEDED", "FILL_ALLOWANCE_EXHAUSTED", "SPONSORED_TRADING_PAUSED", "PASSKEY_REQUIRED", "ACCOUNT_RESTRICTED", "NOT_VERIFIED", "STAKE_REQUIRED", "STAKE_INTENT_INVALID", "INSUFFICIENT_PM_FOR_VOTE_STAKE", "STAKE_PULL_FAILED", "VERIFIED_HUMAN_REQUIRED", "CREATION_SLOTS_FULL", "CREATOR_NOT_ADMITTED", "CREATOR_CAPACITY_REACHED", "REPUTATION_TOO_LOW", "CONCURRENT_LIMIT_REACHED", "LIFETIME_LIMIT_REACHED", "CREATION_COOLDOWN_ACTIVE", "SEED_LIMIT_EXCEEDED", "DURATION_OUT_OF_RANGE", "ACTIVE_VERIFIED_IDENTITY_REQUIRED", "CURRENT_IDENTITY_MEMBERSHIP_REQUIRED", "AGENT_OPERATING_WALLET_NOT_LINKED", "IDENTITY_INTEGRITY_UNKNOWN", "PARTICIPATION_RELEASE_NOT_DEPLOYED", "PARTICIPATION_RELEASE_ROUTE_NOT_DEPLOYED", "PARTICIPATION_PROFILE_MISMATCH", "PARTICIPATION_RELEASE_INACTIVE", "PARTICIPATION_DISTRIBUTION_PAUSED", "PARTICIPATION_MONEY_PATH_INCOMPLETE", "PARTICIPATION_LEDGER_ACCOUNTING_INVALID", "PARTICIPATION_ROUTE_DEGRADED", "PARTICIPATION_ROUTE_QUARANTINED", "PARTICIPATION_INVENTORY_LOW", "NO_PARTICIPATION_RELEASE_CREDITS", "NEW_PARTICIPATION_RELEASE_UNITS_EXHAUSTED", "PARTICIPATION_CLAIM_CADENCE_ACTIVE", "PARTICIPATION_IDENTITY_ATTESTATION_REQUIRED", "PARTICIPATION_DISTRIBUTION_ZERO_DELTA", "PARTICIPATION_DISTRIBUTION_ALREADY_PREPARED", "PARTICIPATION_DISTRIBUTION_RECIPIENT_STALE", "PARTICIPATION_DISTRIBUTION_VOUCHER_EXPIRED", "PARTICIPATION_DISTRIBUTION_EVENT_MISMATCH", "PARTICIPATION_DISTRIBUTION_FINALITY_PENDING", "RATE_LIMITED", "INTERNAL_ERROR", "SERVICE_UNAVAILABLE", "ELIGIBILITY_UNDETERMINED", "COLLATERAL_CONFIGURATION_MISMATCH", "QUOTE_STATE_UNAVAILABLE", "PROTOCOL_UNAVAILABLE", "PROTOCOL_PAUSED", "VENUE_HALTED", "EMBED_ATTRIBUTION_UNAVAILABLE", "QUOTE_FAILED", "INVALID_MARKET_STATE", "MATH_OVERFLOW", "UNKNOWN_CONTRACT_ERROR", "DEADLINE_EXPIRED", "ZERO_INPUT", "ZERO_NET_INPUT", "ZERO_DELTA", "INVALID_MARKET", "INVALID_TOKEN", "NATIVE_ROUTE_UNAVAILABLE", "POST_ONLY_WOULD_CROSS", "FOK_UNFILLABLE", "CLORDID_CONFLICT", "QUOTE_SET_INVALID", "QUOTE_GENERATION_STALE", "ORDER_IN_FLIGHT", "MAKER_NOT_EXECUTABLE", "LIQUIDITY_CHANGED", "CANCELLATION_EVENT_NOT_FOUND", "CANCELLATION_EVENT_MISMATCH", "INVALID_NONCE_FLOOR", "NONCE_INVALIDATION_EVENT_NOT_FOUND", "NONCE_INVALIDATION_EVENT_MISMATCH", "INVALID_TX_HASH" ], "type": "string", "x-extensible-enum": true }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "MarketLifecycleStage": { "enum": [ "open", "closed", "result_proposed", "result_challenged", "vote_open", "vote_closed", "under_review", "resolved", "voided" ], "type": "string" }, "ReputationTier": { "enum": [ "banned", "new", "established", "trusted", "expert", "legend" ], "type": "string" }, "WeiString": { "pattern": "^\\d+$", "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverMarketsResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List markets in the canonical resolution pipeline. Optional category, marketState, cursor, and limit.", "inputSchema": { "$defs": { "Cursor": { "description": "Opaque server-generated cursor; pass back verbatim on next page.", "maxLength": 256, "minLength": 1, "type": "string" }, "MarketState": { "description": "Canonical market state shared by every protocol surface.", "enum": [ "open", "closed", "creator_proposal", "challenge", "human_voting", "council_review", "resolved", "void" ], "type": "string" } }, "properties": { "category": { "description": "Optional market category filter.", "enum": [ "CRYPTO", "SPORTS", "POLITICS", "ELECTIONS", "FINANCE", "TECH", "WORLD", "ECONOMY", "CULTURE", "WEATHER", "SCIENCE_HEALTH", "AI", "GAMING", "BUSINESS", "FASHION", "MOVIES_TV", "MUSIC", "SHOPPING", "BEAUTY", "TRAVEL", "CLIMATE", "DAILY_LIFE", "LOCAL", "SOCIAL", "FUN", "OTHER" ], "type": "string" }, "cursor": { "$ref": "#/$defs/Cursor", "description": "Opaque pagination cursor from a prior response." }, "limit": { "description": "Page size (1–100). Defaults to 50.", "maximum": 100, "minimum": 1, "type": "integer" }, "marketState": { "$ref": "#/$defs/MarketState", "description": "Optional canonical market-state filter." } }, "type": "object" }, "name": "problee_list_pending_resolution_markets", "outputSchema": { "$defs": { "DiscoverPendingResolutionResponse": { "additionalProperties": false, "properties": { "markets": { "items": { "additionalProperties": false, "properties": { "address": { "$ref": "#/$defs/EvmAddress" }, "category": { "enum": [ "CRYPTO", "SPORTS", "POLITICS", "ELECTIONS", "FINANCE", "TECH", "WORLD", "ECONOMY", "CULTURE", "WEATHER", "SCIENCE_HEALTH", "AI", "GAMING", "BUSINESS", "FASHION", "MOVIES_TV", "MUSIC", "SHOPPING", "BEAUTY", "TRAVEL", "CLIMATE", "DAILY_LIFE", "LOCAL", "SOCIAL", "FUN", "OTHER" ], "type": "string", "x-extensible-enum": true }, "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "closeTime": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "collateralDecimals": { "anyOf": [ { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, { "type": "null" } ] }, "collateralToken": { "anyOf": [ { "$ref": "#/$defs/EvmAddress" }, { "type": "null" } ] }, "createdAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "imageUrl": { "type": [ "string", "null" ] }, "lifecycleStage": { "$ref": "#/$defs/MarketLifecycleStage" }, "marketState": { "enum": [ "open", "closed", "creator_proposal", "challenge", "human_voting", "council_review", "resolved", "void" ], "type": "string" }, "marketType": { "type": "string" }, "outcome1Label": { "type": [ "string", "null" ] }, "outcome2Label": { "type": [ "string", "null" ] }, "outcome3Label": { "type": [ "string", "null" ] }, "question": { "type": "string" }, "resolutionCriteria": { "type": [ "string", "null" ] }, "seed": { "anyOf": [ { "pattern": "^\\d+$", "type": "string" }, { "type": "null" } ] }, "settlement": { "enum": [ "onchain", "committed" ], "type": "string" }, "spec": { "anyOf": [ {}, { "type": "null" } ] }, "stageDeadline": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] }, "tradingEndsAt": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "type": "null" } ] } }, "required": [ "address", "chainId", "question", "category", "marketType", "outcome1Label", "outcome2Label", "outcome3Label", "closeTime", "marketState", "tradingEndsAt", "lifecycleStage", "stageDeadline", "imageUrl", "seed", "createdAt", "collateralToken", "collateralDecimals", "spec", "resolutionCriteria" ], "type": "object" }, "type": "array" }, "nextCursor": { "anyOf": [ { "maxLength": 256, "minLength": 1, "type": "string" }, { "type": "null" } ] } }, "required": [ "markets", "nextCursor" ], "type": "object" }, "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "MarketLifecycleStage": { "enum": [ "open", "closed", "result_proposed", "result_challenged", "vote_open", "vote_closed", "under_review", "resolved", "voided" ], "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverPendingResolutionResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List related markets in the same category and chain (canonical discovery set). Useful for context around a market before trading or creating.", "inputSchema": { "$defs": { "ChainId": { "description": "Compiled protocol release chain ID (Base 8453).", "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "EvmAddress": { "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).", "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" } }, "properties": { "address": { "$ref": "#/$defs/EvmAddress", "description": "Anchor market contract address." }, "chainId": { "$ref": "#/$defs/ChainId", "description": "Chain id for the market address." }, "limit": { "description": "Max related markets (1–20, default 4).", "maximum": 20, "minimum": 1, "type": "integer" } }, "required": [ "address", "chainId" ], "type": "object" }, "name": "problee_list_related_markets", "outputSchema": { "$defs": { "DiscoverRelatedMarketsResponse": { "additionalProperties": false, "properties": { "related": { "items": { "additionalProperties": false, "properties": { "address": { "type": [ "string", "null" ] }, "category": { "enum": [ "CRYPTO", "SPORTS", "POLITICS", "ELECTIONS", "FINANCE", "TECH", "WORLD", "ECONOMY", "CULTURE", "WEATHER", "SCIENCE_HEALTH", "AI", "GAMING", "BUSINESS", "FASHION", "MOVIES_TV", "MUSIC", "SHOPPING", "BEAUTY", "TRAVEL", "CLIMATE", "DAILY_LIFE", "LOCAL", "SOCIAL", "FUN", "OTHER" ], "type": "string", "x-extensible-enum": true }, "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "closeTime": { "type": [ "string", "null" ] }, "collateralSymbol": { "minLength": 1, "type": "string" }, "imageUrl": { "type": [ "string", "null" ] }, "marketType": { "type": "string" }, "market_id": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "outcome1Label": { "type": [ "string", "null" ] }, "outcome2Label": { "type": [ "string", "null" ] }, "outcome3Label": { "type": [ "string", "null" ] }, "prices": { "anyOf": [ { "additionalProperties": false, "properties": { "outcome1": { "type": "number" }, "outcome2": { "type": "number" }, "outcome3": { "type": "number" } }, "required": [ "outcome1", "outcome2" ], "type": "object" }, { "type": "null" } ] }, "pricingModel": { "anyOf": [ { "enum": [ "automated", "ORDERBOOK" ], "type": "string" }, { "type": "null" } ] }, "question": { "type": "string" }, "quoteSummary": { "anyOf": [ { "additionalProperties": false, "properties": { "expiresAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "initialReference": { "anyOf": [ { "additionalProperties": false, "properties": { "kind": { "enum": [ "neutral", "source" ], "type": "string" }, "observedAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "pricesBps": { "additionalProperties": false, "properties": { "outcome1": { "maximum": 10000, "minimum": 0, "type": "integer" }, "outcome2": { "maximum": 10000, "minimum": 0, "type": "integer" }, "outcome3": { "maximum": 10000, "minimum": 0, "type": "integer" } }, "required": [ "outcome1", "outcome2" ], "type": "object" }, "source": { "minLength": 1, "type": "string" } }, "required": [ "kind", "pricesBps", "source", "observedAt" ], "type": "object" }, { "type": "null" } ] }, "lastTrade": { "anyOf": [ { "additionalProperties": false, "properties": { "outcome": { "anyOf": [ { "const": 1, "type": "number" }, { "const": 2, "type": "number" }, { "const": 3, "type": "number" } ] }, "priceBps": { "maximum": 10000, "minimum": 0, "type": "integer" }, "tradedAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" } }, "required": [ "outcome", "priceBps", "tradedAt" ], "type": "object" }, { "type": "null" } ] }, "observedAt": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "outcomes": { "additionalProperties": false, "properties": { "outcome1": { "additionalProperties": false, "properties": { "bestAskBps": { "anyOf": [ { "maximum": 10000, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "bestBidBps": { "anyOf": [ { "maximum": 10000, "minimum": 0, "type": "integer" }, { "type": "null" } ] } }, "required": [ "bestBidBps", "bestAskBps" ], "type": "object" }, "outcome2": { "additionalProperties": false, "properties": { "bestAskBps": { "anyOf": [ { "maximum": 10000, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "bestBidBps": { "anyOf": [ { "maximum": 10000, "minimum": 0, "type": "integer" }, { "type": "null" } ] } }, "required": [ "bestBidBps", "bestAskBps" ], "type": "object" }, "outcome3": { "additionalProperties": false, "properties": { "bestAskBps": { "anyOf": [ { "maximum": 10000, "minimum": 0, "type": "integer" }, { "type": "null" } ] }, "bestBidBps": { "anyOf": [ { "maximum": 10000, "minimum": 0, "type": "integer" }, { "type": "null" } ] } }, "required": [ "bestBidBps", "bestAskBps" ], "type": "object" } }, "required": [ "outcome1", "outcome2" ], "type": "object" } }, "required": [ "observedAt", "expiresAt", "outcomes" ], "type": "object" }, { "type": "null" } ] }, "resolutionTime": { "type": [ "string", "null" ] }, "settlement": { "enum": [ "onchain", "committed" ], "type": "string" }, "volume": { "type": "string" } }, "required": [ "market_id", "chainId", "address", "question", "category", "marketType", "imageUrl", "resolutionTime", "closeTime", "outcome1Label", "outcome2Label", "outcome3Label", "collateralSymbol", "volume", "prices" ], "type": "object" }, "type": "array" } }, "required": [ "related" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/DiscoverRelatedMarketsResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List a wallet's fills for history and P&L. Newest first; keyset cursor on (timestamp,id); one row per match. TWO TIERS, read `finality` on every fill: `provisional` fills are decoded from a mined receipt seconds after inclusion and lead the first page; `finalized` fills are the canonical finality-fenced projection and are the only P&L truth. Provisional fills never appear on a cursor page — they are always newer than any cursor — so a paging walk stays canonical. Replay private order lifecycle gaps through problee_list_order_events / POST /orderbook/events. ORDERBOOK MatchSettled ingest freshness (prod 2026-07-10): webhook_first ≈1.52s from block time. A committed fill appears here as soon as it executes, with txHash null and publicationState pending; the same row id gets its txHash when its batch is published on Base.", "inputSchema": { "properties": { "chainId": { "description": "Active chain to query. Discover IDs via GET /discover/chains.", "exclusiveMinimum": 0, "maximum": 9007199254740991, "type": "integer" }, "cursor": { "description": "Opaque cursor from a previous response.", "type": "string" }, "limit": { "description": "Page size (1–100, default 50).", "maximum": 100, "minimum": 1, "type": "integer" }, "walletAddress": { "description": "Wallet to list fills for (0x + 40 hex).", "type": "string" } }, "required": [ "walletAddress", "chainId" ], "type": "object" }, "name": "problee_list_trade_fills", "outputSchema": { "$defs": { "EvmAddress": { "pattern": "^0x[a-fA-F0-9]{40}$", "type": "string" }, "FillSettlementState": { "enum": [ "pending", "committed", "finalized" ], "type": "string" }, "OrderbookClOrdId": { "maxLength": 200, "type": "string" }, "RecordedOn": { "additionalProperties": false, "properties": { "addressTransfersUrl": { "format": "uri", "type": "string" }, "explorer": { "maxLength": 32, "minLength": 1, "type": "string" }, "txUrl": { "format": "uri", "type": "string" }, "verifyUrl": { "format": "uri", "type": "string" } }, "required": [ "explorer" ], "type": "object" }, "TradeFillsResponse": { "additionalProperties": false, "properties": { "fills": { "items": { "additionalProperties": false, "properties": { "batchNonce": { "anyOf": [ { "pattern": "^\\d+$", "type": "string" }, { "type": "null" } ] }, "batchTxHash": { "type": [ "string", "null" ] }, "chainId": { "maximum": 9007199254740991, "minimum": -9007199254740991, "type": "integer" }, "clOrdId": { "$ref": "#/$defs/OrderbookClOrdId" }, "collateralDelta": { "type": "string" }, "direction": { "enum": [ "buy", "sell", "redeem" ], "type": "string" }, "executionStatus": { "const": "executed", "type": "string" }, "explorerUrl": { "format": "uri", "type": "string" }, "feePaid": { "type": [ "string", "null" ] }, "finality": { "$ref": "#/$defs/TradeFinality" }, "id": { "type": "string" }, "liquidityRole": { "enum": [ "maker", "taker" ], "type": "string" }, "logicalTradeKey": { "type": "string" }, "marketAddress": { "$ref": "#/$defs/EvmAddress" }, "outcomeIndex": { "anyOf": [ { "const": 0, "type": "number" }, { "const": 1, "type": "number" }, { "const": 2, "type": "number" } ] }, "priceDecimal": { "type": "string" }, "priceE18": { "type": "string" }, "priceRaw": { "type": "string" }, "priceRawScale": { "enum": [ "fixed_1e18", "decimal_0_1" ], "type": "string" }, "principalReceipt": { "additionalProperties": false, "properties": { "authority": { "const": "committed_ledger", "type": "string" }, "collateralDelta": { "maxLength": 80, "pattern": "^-?\\d+$", "type": "string" }, "collateralEntryKey": { "anyOf": [ { "maxLength": 512, "minLength": 1, "type": "string" }, { "type": "null" } ] }, "feeEntryKey": { "anyOf": [ { "maxLength": 512, "minLength": 1, "type": "string" }, { "type": "null" } ] }, "feePaid": { "maxLength": 78, "pattern": "^\\d+$", "type": "string" }, "movementKey": { "maxLength": 512, "minLength": 1, "type": "string" }, "shareEntryKey": { "maxLength": 512, "minLength": 1, "type": "string" } }, "required": [ "authority", "movementKey", "collateralDelta", "feePaid", "shareEntryKey", "collateralEntryKey", "feeEntryKey" ], "type": "object" }, "publicationState": { "enum": [ "pending", "published", "finalized" ], "type": "string" }, "recordedOn": { "$ref": "#/$defs/RecordedOn" }, "settlementMode": { "enum": [ "committed", "onchain" ], "type": "string" }, "settlementState": { "$ref": "#/$defs/FillSettlementState" }, "sharesDelta": { "type": "string" }, "side": { "type": "string" }, "timestamp": { "anyOf": [ { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, { "format": "date-time", "type": "string" } ] }, "trader": { "$ref": "#/$defs/EvmAddress" }, "txHash": { "type": [ "string", "null" ] } }, "required": [ "chainId", "txHash", "id", "marketAddress", "trader", "side", "outcomeIndex", "direction", "sharesDelta", "collateralDelta", "priceRaw", "priceRawScale", "priceDecimal", "priceE18", "timestamp" ], "type": "object" }, "type": "array" }, "hasMore": { "type": "boolean" }, "nextCursor": { "type": [ "string", "null" ] } }, "required": [ "fills", "nextCursor", "hasMore" ], "type": "object" }, "TradeFinality": { "enum": [ "provisional", "finalized" ], "type": "string" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/TradeFillsResponse" } }, "required": [ "result" ], "type": "object" } }, { "description": "List the event types agents can subscribe a webhook to, with payload shape hints, the walletFilters matching field, and the source realtime/WebSocket event each is bridged from.", "inputSchema": { "properties": {}, "type": "object" }, "name": "problee_list_webhook_event_types", "outputSchema": { "$defs": { "WebhookEventCatalogResponse": { "additionalProperties": false, "properties": { "events": { "items": { "additionalProperties": false, "properties": { "bridgedFromWebSocket": { "type": [ "string", "null" ] }, "description": { "type": "string" }, "name": { "enum": [ "market.resolution_due", "market.resolved", "trade.executed", "trade.intent.created", "trade.submitted", "trade.indexed", "trade.failed", "execution.report", "market.live", "market.cancelled", "market.challengeWindowOpened", "market.voteOpened", "market.voteClosed", "market.disputed", "market.disputeFinalized", "market.councilReview" ], "type": "string" }, "payloadShape": { "type": "string" }, "sourceRealtimeEvent": { "type": "string" }, "walletFilterField": { "anyOf": [ { "enum": [ "trader", "walletAddress" ], "type": "string" }, { "type": "null" } ] } }, "required": [ "name", "description", "payloadShape", "walletFilterField", "sourceRealtimeEvent", "bridgedFromWebSocket" ], "type": "object" }, "type": "array" } }, "required": [ "events" ], "type": "object" } }, "additionalProperties": false, "properties": { "result": { "$ref": "#/$defs/WebhookEventCatalogResponse" } }, "required": [ "result" ], "type": "object" } } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:29accb181c8970090ac2c84d529506077ee8c2b09a9ff50649adb99b0bb29c0b | sha256sum