MCP-Server

Problee

com.problee/problee
Krypto & Web3 Finanzen & Investieren Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Provides read-only play-money prediction-market data including markets, prices, trades, positions, order books, resolution states, and protocol information.

problee_discover_events
Describe the WebSocket transport (URL, auth, message shapes, reconnect protocol) and the WS↔webhook taxonomy bridge
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'OrderbookClOrdId': {'type': 'string', 'maxLength': 200}, 'EventsDiscoveryResponse': {'type': 'object', 'required': ['webSocket', 'taxonomy', 'walletScopedChannels', 'webhooks', 'alternatives'], 'properties': {'taxonomy': {'type': 'array', 'items': {'type': 'object', 'required': ['webSocketEvent', 'webhookEvent', 'semantic'], 'properties': {'semantic': {'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'}]}, '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'}}, 'additionalProperties': False}}, 'webhooks': {'type': 'object', 'required': ['discoveryEndpoint', 'eventsEndpoint'], 'properties': {'eventsEndpoint': {'type': 'string', 'const': '/api/agent/v1/webhooks/events'}, 'discoveryEndpoint': {'type': 'string', 'const': '/api/agent/v1/webhooks/discovery'}}, 'additionalProperties': False}, 'webSocket': {'type': 'object', 'required': ['url', 'auth', 'protocol', 'clientMessages', 'serverMessages', 'reconnect', 'heartbeat'], 'properties': {'url': {'type': 'string'}, 'auth': {'type': 'object', 'required': ['schemes', 'bearer', 'xApiKey', 'note'], 'properties': {'note': {'type': 'string'}, 'bearer': {'type': 'object', 'required': ['header', 'format'], 'properties': {'format': {'type': 'string', 'const': 'Bearer <api-key>'}, 'header': {'type': 'string', 'const': 'Authorization'}}, 'additionalProperties': False}, 'schemes': {'type': 'array', 'items': {'enum': ['bearer', 'x-api-key'], 'type': 'string'}}, 'xApiKey': {'type': 'object', 'required': ['header', 'format'], 'properties': {'format': {'type': 'string', 'const': '<api-key>'}, 'header': {'type': 'string', 'const': 'x-api-key'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'protocol': {'type': 'string', 'const': 'json'}, 'heartbeat': {'type': 'object', 'required': ['mechanism', 'intervalSeconds', 'missedPongDisconnectAfter'], 'properties': {'mechanism': {'type': 'string', 'const': 'ws-ping'}, 'intervalSeconds': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'missedPongDisconnectAfter': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}}, 'additionalProperties': False}, 'reconnect': {'type': 'object', 'required': ['lastEventIdQueryParam', 'bufferSize', 'perInstanceBuffer', 'note'], 'properties': {'note': {'type': 'string'}, 'bufferSize': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'perInstanceBuffer': {'type': 'boolean', 'const': True}, 'lastEventIdQueryParam': {'type': 'string', 'const': 'lastEventId'}}, 'additionalProperties': False}, 'clientMessages': {'type': 'array', 'items': {'type': 'object', 'required': ['action', 'shape'], 'properties': {'note': {'type': 'string'}, 'shape': {'type': 'string'}, 'action': {'enum': ['subscribe', 'unsubscribe', 'ping'], 'type': 'string'}}, 'additionalProperties': False}}, 'serverMessages': {'type': 'array', 'items': {'type': 'object', 'required': ['type', 'shape'], 'properties': {'note': {'type': 'string'}, 'type': {'type': 'string'}, 'shape': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}, 'alternatives': {'type': 'object', 'required': ['webhooks', 'polling'], 'properties': {'polling': {'type': 'object', 'required': ['supported', 'note'], 'properties': {'note': {'type': 'string'}, 'supported': {'type': 'boolean', 'const': False}}, 'additionalProperties': False}, 'webhooks': {'type': 'object', 'required': ['role', 'discoveryEndpoint', 'eventsEndpoint', 'note'], 'properties': {'note': {'type': 'string'}, 'role': {'type': 'string', 'const': 'async-fallback'}, 'eventsEndpoint': {'type': 'string', 'const': '/api/agent/v1/webhooks/events'}, 'discoveryEndpoint': {'type': 'string', 'const': '/api/agent/v1/webhooks/discovery'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'walletScopedChannels': {'type': 'array', 'items': {'type': 'object', 'required': ['channel', 'description', 'transports', 'delivery', 'scope', 'events', 'reconcile', 'payload'], 'properties': {'scope': {'type': 'string', 'const': 'wallet'}, 'events': {'type': 'array', 'items': {'$ref': '#/$defs/ExecutionReportEventName'}}, 'channel': {'type': 'string'}, 'payload': {'type': 'object', 'required': ['chainId', 'marketAddress', 'walletAddress', 'orderHash', 'event'], 'properties': {'seq': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'kind': {'anyOf': [{'type': 'integer', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}, 'side': {'anyOf': [{'type': 'number', 'const': 0}, {'type': 'number', 'const': 1}]}, 'event': {'$ref': '#/$defs/ExecutionReportEventName'}, 'price': {'type': 'string'}, 'reason': {'type': 'string'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'clOrdId': {'$ref': '#/$defs/OrderbookClOrdId'}, 'eventId': {'type': 'string', '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)$'}, 'feePaid': {'type': ['string', 'null']}, 'finality': {'enum': ['offchain', 'provisional', 'finalized', 'orphaned'], 'type': 'string'}, 'priceBps': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'null'}]}, 'sequence': {'type': 'string', 'pattern': '^\\d+$'}, 'orderHash': {'type': 'string'}, 'remaining': {'type': 'string'}, 'fillAmount': {'type': 'string'}, 'occurredAt': {'type': 'string', '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)))$'}, 'priceBasis': {'anyOf': [{'enum': ['order_side', 'outcome1'], 'type': 'string'}, {'type': 'null'}]}, 'orderStatus': {'type': ['string', 'null']}, 'priceDecimal': {'type': ['string', 'null']}, 'liquidityRole': {'anyOf': [{'enum': ['maker', 'taker'], 'type': 'string'}, {'type': 'null'}]}, 'marketAddress': {'type': 'string'}, 'reservationId': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'schemaVersion': {'type': 'string', 'const': 'problee.orderbook.order-event.v1'}, 'walletAddress': {'type': 'string'}, 'transactionHash': {'type': ['string', 'null']}, 'cumulativeFilled': {'type': 'string'}, 'settlementLogIndex': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'counterpartyOrderHash': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'delivery': {'type': 'string', 'const': 'at-most-once'}, 'reconcile': {'type': 'object', 'required': ['endpoint', 'method', 'auth', 'mcpTool', 'cursor', 'ordering', 'note'], 'properties': {'auth': {'type': 'string', 'const': 'wallet-bound-agent'}, 'note': {'type': 'string'}, 'cursor': {'type': 'string', 'const': 'afterSequence'}, 'method': {'type': 'string', 'const': 'POST'}, 'mcpTool': {'type': 'string', 'const': 'problee_list_order_events'}, 'endpoint': {'type': 'string', 'const': '/api/agent/v1/orderbook/events'}, 'ordering': {'type': 'string', 'const': 'sequence-ascending'}}, 'additionalProperties': False}, 'transports': {'type': 'array', 'items': {'enum': ['agent-websocket', 'sse'], 'type': 'string'}}, 'description': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}, 'ExecutionReportEventName': {'enum': ['accepted', 'reserved', 'submitted', 'mined', 'fill', 'partial', 'cancelled', 'expired', 'rejected', 'released', 'bust', 'quarantined', 'restored', 'suspended', 'reversed'], 'type': 'string'}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/EventsDiscoveryResponse'}}, 'additionalProperties': False}
problee_discover_market_data
Describe canonical market-data lanes for agents
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'MarketDataDiscoveryResponse': {'type': 'object', 'required': ['webSocket', 'rest', 'sse', 'agentWebSocket'], 'properties': {'sse': {'type': 'object', 'required': ['url', 'protocol', 'filters', 'note'], 'properties': {'url': {'type': 'string', 'const': '/api/consumer/market/stream'}, 'note': {'type': 'string'}, 'filters': {'type': 'object', 'required': ['chainId', 'markets'], 'properties': {'chainId': {'type': 'string', 'const': 'required number for chain-scoped subscriptions'}, 'markets': {'type': 'string', 'const': 'comma-separated market addresses, max 100'}}, 'additionalProperties': False}, 'protocol': {'type': 'string', 'const': 'sse'}}, 'additionalProperties': False}, 'rest': {'type': 'object', 'required': ['chartLatest', 'quote', 'quoteBatch', 'orderbook', 'positions'], 'properties': {'quote': {'type': 'object', 'required': ['endpoint', 'authority', 'note'], 'properties': {'note': {'type': 'string'}, 'endpoint': {'type': 'string', 'const': 'POST /api/agent/v1/trade/quote'}, 'authority': {'type': 'string', 'const': 'execution'}}, 'additionalProperties': False}, 'orderbook': {'type': 'object', 'required': ['mcpTool', 'authority', 'note'], 'properties': {'note': {'type': 'string'}, 'mcpTool': {'type': 'string', 'const': 'problee_get_orderbook'}, 'authority': {'type': 'string', 'const': 'execution'}}, 'additionalProperties': False}, 'positions': {'type': 'object', 'required': ['endpoint', 'authority', 'note'], 'properties': {'note': {'type': 'string'}, 'endpoint': {'type': 'string', 'const': 'GET /api/agent/v1/trade/positions'}, 'authority': {'type': 'string', 'const': 'reconciliation'}}, 'additionalProperties': False}, 'quoteBatch': {'type': 'object', 'required': ['endpoint', 'authority', 'note'], 'properties': {'note': {'type': 'string'}, 'endpoint': {'type': 'string', 'const': 'POST /api/agent/v1/trade/quote/batch'}, 'authority': {'type': 'string', 'const': 'execution'}}, 'additionalProperties': False}, 'chartLatest': {'type': 'object', 'required': ['endpoint', 'authority', 'note'], 'properties': {'note': {'type': 'string'}, 'endpoint': {'type': 'string', 'const': 'GET /api/agent/v1/discover/markets/{address}/chart?chainId=&window='}, 'authority': {'type': 'string', 'const': 'display'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'webSocket': {'type': 'object', 'required': ['url', 'protocol', 'maxMarketsPerConnection', 'channels', 'querySubscribe', 'clientMessages', 'serverMessages'], 'properties': {'url': {'type': 'string'}, 'channels': {'type': 'array', 'items': {'enum': ['market:update', 'trade:new', 'orderbook:update', 'orderbook:l2', 'orderbook:l2:v2'], 'type': 'string'}}, 'protocol': {'type': 'string', 'const': 'json'}, 'clientMessages': {'type': 'array', 'items': {'type': 'object', 'required': ['type', 'shape'], 'properties': {'note': {'type': 'string'}, 'type': {'enum': ['subscribe', 'unsubscribe', 'ping'], 'type': 'string'}, 'shape': {'type': 'string'}}, 'additionalProperties': False}}, 'querySubscribe': {'type': 'object', 'required': ['shape', 'note'], 'properties': {'note': {'type': 'string'}, 'shape': {'type': 'string', 'const': '?chainId=<number>&markets=<address,address>&channels=market:update,trade:new,orderbook:update,orderbook:l2,orderbook:l2:v2'}}, 'additionalProperties': False}, 'serverMessages': {'type': 'array', 'items': {'type': 'object', 'required': ['type', 'shape'], 'properties': {'note': {'type': 'string'}, 'type': {'enum': ['connected', 'snapshot', 'market:update', 'trade:new', 'orderbook:update', 'orderbook:l2', 'orderbook:l2:v2', 'pong', 'error'], 'type': 'string'}, 'shape': {'type': 'string'}}, 'additionalProperties': False}}, 'maxMarketsPerConnection': {'type': 'number', 'const': 100}}, 'additionalProperties': False}, 'agentWebSocket': {'type': 'object', 'required': ['url', 'role', 'note'], 'properties': {'url': {'type': 'string', 'const': '/api/agent/v1/events/ws'}, 'note': {'type': 'string'}, 'role': {'type': 'string', 'const': 'lifecycle-and-negotiation-control-plane'}}, 'additionalProperties': False}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/MarketDataDiscoveryResponse'}}, 'additionalProperties': False}
problee_discover_renderers
Native renderer catalog (UI hint)
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'DiscoverRenderersResponse': {'type': 'object', 'required': ['specVersion', 'renderers', 'surfaceEndpoint', 'pushEndpoint', 'maxDataSize', 'note'], 'properties': {'note': {'type': 'string'}, 'renderers': {'type': 'array', 'items': {'type': 'object', 'required': ['renderer', 'description', 'schema', 'example', 'supportedChannels', 'frontendNative', 'fallbackRenderer'], 'properties': {'schema': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'example': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'renderer': {'type': 'string'}, 'description': {'type': 'string'}, 'frontendNative': {'type': 'boolean'}, 'fallbackRenderer': {'type': 'string'}, 'supportedChannels': {'type': 'array', 'items': {'enum': ['agent_api', 'wallet_self_serve'], 'type': 'string'}}}, 'additionalProperties': False}}, 'maxDataSize': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'specVersion': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'pushEndpoint': {'type': 'string'}, 'surfaceEndpoint': {'type': 'string'}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverRenderersResponse'}}, 'additionalProperties': False}
problee_discover_resolution_sources
Self-documenting catalog — the opaque-envelope shape + conventions agents use for resolutionSource
Describe the opaque `resolutionSource` envelope shape and the conventions agents use. No closed enum — agents invent their own `type` values.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'DiscoverResolutionSourcesResponse': {'type': 'object', 'required': ['schema', 'conventions', 'examples'], 'properties': {'schema': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'examples': {'type': 'array', 'items': {'type': 'object', 'required': ['type', 'description'], 'properties': {'type': {'type': 'string'}, 'description': {'type': 'string'}}, 'additionalProperties': False}}, 'conventions': {'type': 'object', 'required': ['note', 'recommended'], 'properties': {'note': {'type': 'string'}, 'recommended': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverResolutionSourcesResponse'}}, 'additionalProperties': False}
problee_discover_webhooks
Describe the webhook signing scheme so agents can verify deliveries without reading source
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'WebhookDiscoveryResponse': {'type': 'object', 'required': ['spec', 'version', 'headers', 'signing', 'replayToleranceSeconds', 'envelope', 'verification', 'referenceUrl'], 'properties': {'spec': {'type': 'string', 'const': 'standard-webhooks'}, 'headers': {'type': 'object', 'required': ['id', 'timestamp', 'signature'], 'properties': {'id': {'type': 'string', 'const': 'webhook-id'}, 'signature': {'type': 'string', 'const': 'webhook-signature'}, 'timestamp': {'type': 'string', 'const': 'webhook-timestamp'}}, 'additionalProperties': False}, 'signing': {'type': 'object', 'required': ['algorithm', 'signedContentTemplate', 'signatureEncoding', 'schemeTag', 'headerFormat', 'multipleSignaturesDelimiter', 'mode', 'modes'], 'properties': {'mode': {'enum': ['legacy', 'standard'], 'type': 'string'}, 'modes': {'type': 'object', 'required': ['legacy', 'standard'], 'properties': {'legacy': {'type': 'object', 'required': ['webhookTimestampFormat', 'hmacKey', 'standardWebhooksConformant'], 'properties': {'hmacKey': {'type': 'string', 'const': 'UTF-8 bytes of the full whsec_-prefixed secret string'}, 'webhookTimestampFormat': {'type': 'string', 'const': 'ISO-8601'}, 'standardWebhooksConformant': {'type': 'boolean', 'const': False}}, 'additionalProperties': False}, 'standard': {'type': 'object', 'required': ['webhookTimestampFormat', 'hmacKey', 'standardWebhooksConformant'], 'properties': {'hmacKey': {'type': 'string', 'const': 'base64-decoded bytes of the secret after the whsec_ prefix'}, 'webhookTimestampFormat': {'type': 'string', 'const': 'unix-seconds'}, 'standardWebhooksConformant': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'algorithm': {'type': 'string', 'const': 'HMAC-SHA256'}, 'schemeTag': {'type': 'string', 'const': 'v1'}, 'headerFormat': {'type': 'string', 'const': 'v1,{base64Signature}'}, 'signatureEncoding': {'type': 'string', 'const': 'base64'}, 'signedContentTemplate': {'type': 'string', 'const': '{id}.{timestamp}.{rawBody}'}, 'multipleSignaturesDelimiter': {'type': 'string', 'const': ' '}}, 'additionalProperties': False}, 'version': {'type': 'string', 'const': 'v1'}, 'envelope': {'type': 'object', 'required': ['shape', 'idPrefix', 'timestampFormat'], 'properties': {'shape': {'type': 'string', 'const': '{id, event, timestamp, data}'}, 'idPrefix': {'type': 'string', 'const': 'evt_'}, 'timestampFormat': {'type': 'string', 'const': 'ISO-8601'}}, 'additionalProperties': False}, 'referenceUrl': {'type': 'string', 'const': 'https://www.standardwebhooks.com'}, 'verification': {'type': 'object', 'required': ['enforced', 'method', 'requestHeaders', 'requestBodyShape', 'expectedResponse', 'timeoutSeconds', 'verificationTokenSource'], 'properties': {'method': {'type': 'string', 'const': 'POST'}, 'enforced': {'type': 'boolean', 'const': False}, 'requestHeaders': {'type': 'object', 'required': ['x-webhook-verification', 'content-type'], 'properties': {'content-type': {'type': 'string', 'const': 'application/json'}, 'x-webhook-verification': {'type': 'string', 'const': 'true'}}, 'additionalProperties': False}, 'timeoutSeconds': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'expectedResponse': {'type': 'object', 'required': ['statusCode', 'bodyShape', 'contentType'], 'properties': {'bodyShape': {'type': 'string', 'const': '{"challenge":"<verificationToken>"}'}, 'statusCode': {'type': 'string', 'const': '2xx'}, 'contentType': {'type': 'string', 'const': 'application/json'}}, 'additionalProperties': False}, 'requestBodyShape': {'type': 'string', 'const': '{"type":"url_verification","challenge":"<verificationToken>"}'}, 'verificationTokenSource': {'type': 'string', 'const': 'RegisterWebhookResponse.verificationToken'}}, 'additionalProperties': False}, 'replayToleranceSeconds': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/WebhookDiscoveryResponse'}}, 'additionalProperties': False}
problee_get_balance
Get token balances for a wallet
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['walletAddress'], 'properties': {'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Active chain to query. Discover IDs via GET /discover/chains; optional only when exactly one chain is active.', 'exclusiveMinimum': 0}, 'include': {'enum': ['default', 'all'], 'type': 'string', 'description': 'default returns the PM balance only. all returns every active supported collateral on the chain.'}, 'walletAddress': {'type': 'string', 'description': 'Wallet to check (0x + 40 hex).'}}}
Ausgabeschema
{'type': 'object', '$defs': {'BalanceResponse': {'type': 'array', 'items': {'type': 'object', 'required': ['symbol', 'address', 'decimals', 'balance'], 'properties': {'error': {'type': 'string'}, 'symbol': {'type': 'string'}, 'address': {'type': 'string'}, 'balance': {'type': 'string', 'pattern': '^\\d+$'}, 'decimals': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'balancePm': {'type': 'string', 'pattern': '^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}}, 'additionalProperties': False}}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/BalanceResponse'}}, 'additionalProperties': False}
problee_get_contracts
Canonical protocol addresses, collateral capabilities, and trading approvals
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Optional chainId. Returns all enabled chains if omitted.', 'exclusiveMinimum': 0}, 'collateral': {'type': 'string', 'description': 'Optional reviewed collateral symbol or token address filter.'}}}
Ausgabeschema
{'type': 'object', '$defs': {'ChainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'ServedCollateralRole': {'type': 'string', 'maxLength': 32, 'minLength': 1}, 'RouterInterfaceFunction': {'type': 'object', 'required': ['signature', 'selector'], 'properties': {'selector': {'type': 'string'}, 'signature': {'type': 'string'}}, 'additionalProperties': False}, 'DiscoverContractsResponse': {'type': 'object', 'required': ['chains'], 'properties': {'chains': {'type': 'array', 'items': {'type': 'object', 'required': ['chainId', 'name', 'stable', 'collaterals', 'outcomeToken', 'factories', 'routerInterface', 'approvals'], 'properties': {'name': {'type': 'string'}, 'stable': {'type': 'boolean', 'const': True}, 'chainId': {'$ref': '#/$defs/ChainId'}, 'approvals': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'reason', 'chainId', 'token', 'spender'], 'properties': {'kind': {'enum': ['erc20_approve', 'erc1155_set_approval_for_all'], 'type': 'string'}, 'token': {'$ref': '#/$defs/EvmAddress'}, 'amount': {'$ref': '#/$defs/WeiString'}, 'reason': {'enum': ['buy_collateral', 'sell_outcome_token'], 'type': 'string'}, 'chainId': {'$ref': '#/$defs/ChainId'}, 'spender': {'$ref': '#/$defs/EvmAddress'}}, 'additionalProperties': False}}, 'factories': {'type': 'object', 'required': ['binary', 'ternary', 'orderbook'], 'properties': {'binary': {'$ref': '#/$defs/EvmAddress'}, 'ternary': {'$ref': '#/$defs/EvmAddress'}, 'orderbook': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}}, 'additionalProperties': False}, 'collaterals': {'type': 'array', 'items': {'type': 'object', 'required': ['symbol', 'token', 'router', 'role', 'capabilities'], 'properties': {'role': {'$ref': '#/$defs/ServedCollateralRole'}, 'token': {'$ref': '#/$defs/EvmAddress'}, 'router': {'$ref': '#/$defs/EvmAddress'}, 'symbol': {'type': 'string', 'maxLength': 16, 'minLength': 1}, 'decimals': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'capabilities': {'type': 'object', 'required': ['trading', 'creation'], 'properties': {'trading': {'type': 'boolean'}, 'creation': {'type': 'boolean'}}, 'additionalProperties': False}}, 'additionalProperties': False}}, 'outcomeToken': {'$ref': '#/$defs/EvmAddress'}, 'routerInterface': {'type': 'object', 'required': ['abiVersion', 'runtimeCodeHash', 'functions'], 'properties': {'functions': {'type': 'object', 'required': ['executeTradeIntent', 'executeBasketIntent'], 'properties': {'executeTradeIntent': {'$ref': '#/$defs/RouterInterfaceFunction'}, 'executeBasketIntent': {'$ref': '#/$defs/RouterInterfaceFunction'}}, 'additionalProperties': False}, 'abiVersion': {'type': 'string'}, 'runtimeCodeHash': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverContractsResponse'}}, 'additionalProperties': False}
problee_get_factory_config
Creator-policy factory configuration for a chain
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'ChainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Compiled protocol release chain ID (Base 8453).'}}, 'properties': {'chainId': {'$ref': '#/$defs/ChainId', 'description': 'Optional only when exactly one chain is active; required when multiple chains are active.'}, 'factoryType': {'enum': ['binary', 'ternary', 'orderbook'], 'type': 'string', 'description': 'Factory arity. Defaults to binary.'}}}
Ausgabeschema
{'type': 'object', '$defs': {'ChainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'MarketsConfigResponse': {'oneOf': [{'type': 'object', 'required': ['enabled', 'chainId', 'factoryType', 'factoryAddress', 'protocolTokenAddress', 'minDurationSeconds', 'maxDurationSeconds', 'protocolFeeBps', 'minCreationBondWei', 'maxCreationBondWei', 'bondRatioBps', 'collaterals', 'creationSlots'], 'properties': {'chainId': {'$ref': '#/$defs/ChainId'}, 'enabled': {'type': 'boolean', 'const': True}, 'collaterals': {'type': 'array', 'items': {'type': 'object', 'required': ['symbol', 'token', 'router', 'decimals', 'minSeedAmount', 'maxSeedAmount', 'minBuyAmount', 'enabled'], 'properties': {'token': {'$ref': '#/$defs/EvmAddress'}, 'router': {'$ref': '#/$defs/EvmAddress'}, 'symbol': {'type': 'string', 'maxLength': 16, 'minLength': 1}, 'enabled': {'type': 'boolean'}, 'decimals': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'minBuyAmount': {'$ref': '#/$defs/WeiString'}, 'maxSeedAmount': {'$ref': '#/$defs/WeiString'}, 'minSeedAmount': {'$ref': '#/$defs/WeiString'}}, 'additionalProperties': False}}, 'factoryType': {'enum': ['binary', 'ternary', 'orderbook'], 'type': 'string'}, 'bondRatioBps': {'type': 'integer', 'maximum': 10000, 'minimum': 0}, 'creationSlots': {'$ref': '#/$defs/MarketsConfigCreationSlots'}, 'factoryAddress': {'$ref': '#/$defs/EvmAddress'}, 'protocolFeeBps': {'type': 'integer', 'maximum': 10000, 'minimum': 0}, 'maxCreationBondWei': {'$ref': '#/$defs/WeiString'}, 'maxDurationSeconds': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'minCreationBondWei': {'$ref': '#/$defs/WeiString'}, 'minDurationSeconds': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'protocolTokenAddress': {'$ref': '#/$defs/EvmAddress'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['enabled', 'chainId', 'factoryType', 'creationSlots'], 'properties': {'chainId': {'$ref': '#/$defs/ChainId'}, 'enabled': {'type': 'boolean', 'const': False}, 'factoryType': {'enum': ['binary', 'ternary', 'orderbook'], 'type': 'string'}, 'creationSlots': {'$ref': '#/$defs/MarketsConfigCreationSlots'}}, 'additionalProperties': False}]}, 'MarketsConfigCreationSlots': {'anyOf': [{'type': 'object', 'required': ['limit', 'occupied', 'available'], 'properties': {'limit': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'occupied': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'available': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'unlimited': {'type': 'boolean'}}, 'additionalProperties': False}, {'type': 'null'}]}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/MarketsConfigResponse'}}, 'additionalProperties': False}
problee_get_fees
Canonical two-lane protocol fee schedule (LMSR + ORDERBOOK factory defaults)
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'DiscoverFeesLmsrLane': {'type': 'object', 'required': ['buyFeeBps', 'sellExitFeeBps', 'winningsExitFeeBps'], 'properties': {'buyFeeBps': {'type': 'number', 'const': 0}, 'sellExitFeeBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'winningsExitFeeBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}, 'DiscoverFeesResponse': {'type': 'object', 'required': ['lmsr', 'orderbook', 'chainId'], 'properties': {'lmsr': {'$ref': '#/$defs/DiscoverFeesLmsrLane'}, 'note': {'type': 'string'}, 'notes': {'type': 'array', 'items': {'type': 'string'}}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'orderbook': {'$ref': '#/$defs/DiscoverFeesOrderbookLane'}}, 'additionalProperties': False}, 'DiscoverFeesOrderbookLane': {'type': 'object', 'required': ['placeFeeBps', 'routerTakerFeeBps', 'operatorBatchFeeBps', 'winningsExitFeeBps'], 'properties': {'placeFeeBps': {'type': 'number', 'const': 0}, 'feePolicyVersion': {'enum': ['notional-v1', 'shares-v2'], 'type': 'string'}, 'routerTakerFeeBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'winningsExitFeeBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'operatorBatchFeeBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverFeesResponse'}}, 'additionalProperties': False}
problee_get_market
Get detailed information about a specific prediction market
Get detailed information about a specific prediction market
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['address'], 'properties': {'address': {'type': 'string'}, 'chainId': {'type': 'number'}}}
Ausgabeschema
{'type': 'object', '$defs': {'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, '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}, 'ReputationTier': {'enum': ['banned', 'new', 'established', 'trusted', 'expert', 'legend'], 'type': 'string'}, 'AgentMarketDetail': {'type': 'object', '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'], 'properties': {'geo': {'anyOf': [{'type': 'object', 'required': ['scope', 'countryCode', 'place', 'lat', 'lon', 'derivation'], 'properties': {'lat': {'type': ['number', 'null']}, 'lon': {'type': ['number', 'null']}, 'place': {'type': ['string', 'null']}, 'scope': {'enum': ['city', 'region', 'country', 'global'], 'type': 'string'}, 'derivation': {'anyOf': [{'enum': ['explicit', 'entity_hq'], 'type': 'string'}, {'type': 'null'}]}, 'countryCode': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'prices': {'type': 'object', 'properties': {'outcome1': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'outcome2': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'outcome3': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}, 'volume': {'$ref': '#/$defs/WeiString'}, 'actions': {'type': 'object', 'required': ['canCreatorResolve', 'canChallenge', 'canVote', 'canClaim'], 'properties': {'reason': {'$ref': '#/$defs/ErrorReason'}, 'canVote': {'type': 'boolean'}, 'canClaim': {'type': 'boolean'}, 'canChallenge': {'type': 'boolean'}, 'creatorAddress': {'$ref': '#/$defs/EvmAddress'}, 'canCreatorResolve': {'type': 'boolean'}}, 'additionalProperties': False}, 'address': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'outcome': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'category': {'type': ['string', 'null']}, 'finality': {'enum': ['pending', 'finalized'], 'type': 'string'}, 'imageUrl': {'type': ['string', 'null']}, 'openTime': {'anyOf': [{'anyOf': [{'type': 'string', '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': 'null'}]}, 'outcomes': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'pricePercent'], 'properties': {'label': {'type': 'string'}, 'pricePercent': {'anyOf': [{'type': 'number', 'maximum': 100, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'maxItems': 3, 'minItems': 2}, 'question': {'type': 'string'}, 'closeTime': {'anyOf': [{'anyOf': [{'type': 'string', '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': 'null'}]}, 'createdAt': {'anyOf': [{'anyOf': [{'type': 'string', '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': 'null'}]}, 'createdBy': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}, 'humanVote': {'type': 'object', 'required': ['sessionId', 'windowStartsAt', 'deadlineImmutable', 'endsAt'], 'properties': {'endsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'sessionId': {'type': ['string', 'null']}, 'windowStartsAt': {'type': 'string', 'const': 'session_open'}, 'deadlineImmutable': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}, 'jurorTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}, 'volume24h': {'$ref': '#/$defs/WeiString'}, 'marketType': {'type': ['string', 'null']}, 'settlement': {'enum': ['onchain', 'committed'], 'type': 'string'}, 'challengeBy': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'creatorTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}, 'description': {'type': ['string', 'null']}, 'marketState': {'enum': ['open', 'closed', 'creator_proposal', 'challenge', 'human_voting', 'council_review', 'resolved', 'void'], 'type': 'string'}, 'pricingModel': {'type': ['string', 'null']}, 'supportsVoid': {'type': 'boolean'}, 'tradingRules': {'anyOf': [{'type': 'object', 'required': ['priceScale', 'priceIncrement', 'priceMin', 'priceMax', 'priceIncrementBps', 'priceMinBps', 'priceMaxBps', 'pricePlacementMinBps', 'pricePlacementMaxBps', 'priceBands', 'shareStep', 'minOrderSize', 'minRestingShares', 'minRestingNotional', 'minBuyAmount', 'takerFeeBps', 'maxPriceSpreadBps', 'selfTradePrevention', 'supportedTimeInForce', 'postOnlySupported'], 'properties': {'priceMax': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'priceMin': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'shareStep': {'$ref': '#/$defs/WeiString'}, 'priceBands': {'type': 'array', 'items': {'type': 'object', 'required': ['minBps', 'maxBps', 'tickBps'], 'properties': {'maxBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'minBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'tickBps': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}}, 'additionalProperties': False}}, 'priceScale': {'type': 'number', 'const': 1}, 'makerFeeBps': {'type': 'integer', 'maximum': 10000, 'minimum': 0}, 'priceMaxBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'priceMinBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'takerFeeBps': {'type': 'integer', 'maximum': 10000, 'minimum': 0}, 'minBuyAmount': {'$ref': '#/$defs/WeiString'}, 'minOrderSize': {'$ref': '#/$defs/WeiString'}, 'minSellShares': {'$ref': '#/$defs/WeiString'}, 'priceIncrement': {'type': 'number', 'exclusiveMinimum': 0}, 'feePolicyVersion': {'enum': ['notional-v1', 'shares-v2'], 'type': 'string'}, 'minRestingShares': {'$ref': '#/$defs/WeiString'}, 'maxPriceSpreadBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'postOnlySupported': {'type': 'boolean', 'const': True}, 'priceIncrementBps': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'principalRounding': {'type': 'string', 'const': 'binary-outcome1-floor-remainder-v1'}, 'minRestingNotional': {'$ref': '#/$defs/WeiString'}, 'selfTradePrevention': {'type': 'string', 'const': 'SKIP_SELF'}, 'pricePlacementMaxBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'pricePlacementMinBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'supportedTimeInForce': {'type': 'array', 'items': {'enum': ['GTC', 'IOC', 'FOK'], 'type': 'string'}}, 'minRestingExpirySeconds': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}}, 'additionalProperties': False}, {'type': 'null'}]}, 'outcome1Label': {'type': ['string', 'null']}, 'outcome2Label': {'type': ['string', 'null']}, 'outcome3Label': {'type': ['string', 'null']}, 'stageDeadline': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'tradingEndsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'clarifications': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'body', 'createdAt'], 'properties': {'id': {'type': 'string'}, 'body': {'type': 'string'}, 'createdAt': {'type': 'string'}}, 'additionalProperties': False}}, 'creatorAgentId': {'type': ['string', 'null']}, 'lifecycleStage': {'$ref': '#/$defs/MarketLifecycleStage'}, 'tradingRulesPm': {'anyOf': [{'type': 'object', 'required': ['minBuyPm', 'minLimitShares', 'minSellShares', 'minLimitLifeSeconds', 'priceSteps'], 'properties': {'minBuyPm': {'type': 'string', 'pattern': '^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}, 'priceSteps': {'type': 'array', 'items': {'type': 'object', 'required': ['fromPercent', 'toPercent', 'stepPercent'], 'properties': {'toPercent': {'type': 'number', 'maximum': 100, 'minimum': 0}, 'fromPercent': {'type': 'number', 'maximum': 100, 'minimum': 0}, 'stepPercent': {'type': 'number', 'maximum': 100, 'minimum': 0}}, 'additionalProperties': False}, 'minItems': 1}, 'minSellShares': {'type': 'string', 'pattern': '^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}, 'minLimitShares': {'type': 'string', 'pattern': '^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}, 'minLimitLifeSeconds': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}, {'type': 'null'}]}, 'collateralToken': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}, 'marketReference': {'type': 'string', 'pattern': '^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$'}, 'creatorResolveBy': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'resolutionSource': {'anyOf': [{'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, {'type': 'null'}]}, 'resolutionPending': {'anyOf': [{'type': 'object', 'required': ['id', 'expectedBy', 'note', 'createdAt'], 'properties': {'id': {'type': 'string'}, 'note': {'type': 'string'}, 'createdAt': {'type': 'string'}, 'expectedBy': {'type': 'string'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'collateralDecimals': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'nextActionDeadline': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'pricingTimestampMs': {'type': 'number'}, 'resolutionCriteria': {'type': ['string', 'null']}, 'councilReviewEndsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}}, 'additionalProperties': False}, 'MarketLifecycleStage': {'enum': ['open', 'closed', 'result_proposed', 'result_challenged', 'vote_open', 'vote_closed', 'under_review', 'resolved', 'voided'], 'type': 'string'}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/AgentMarketDetail'}}, 'additionalProperties': False}
problee_get_market_chart
Price history + latest frame for a market across a time window
Get price history + latest for a market. Window defaults to ALL; supports 1H, 1D, 1W. Examples: Read the 1D price history for a market
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['address'], 'properties': {'window': {'enum': ['1H', '1D', '1W', 'ALL'], 'type': 'string'}, 'address': {'type': 'string'}, 'chainId': {'type': 'number'}}}
Ausgabeschema
{'type': 'object', '$defs': {'McpMarketPricePoint': {'type': 'object', 'required': ['outcome1', 'outcome2', 'timestamp'], 'properties': {'outcome1': {'type': 'number'}, 'outcome2': {'type': 'number'}, 'outcome3': {'type': 'number'}, 'timestamp': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'pricingTimestampMs': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}, 'AgentMarketChartResponse': {'type': 'object', 'required': ['series', 'latest', 'window', 'meta'], 'properties': {'meta': {'type': 'object', 'required': ['pointCount', 'snapshotUpdatedAtMs', 'pricingTimestampMs'], 'properties': {'pointCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'pricingTimestampMs': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, {'type': 'null'}]}, 'snapshotUpdatedAtMs': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'latest': {'anyOf': [{'$ref': '#/$defs/McpMarketPricePoint'}, {'type': 'null'}]}, 'series': {'type': 'array', 'items': {'$ref': '#/$defs/McpMarketPricePoint'}}, 'window': {'enum': ['1H', '1D', '1W', 'ALL'], 'type': 'string'}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/AgentMarketChartResponse'}}, 'additionalProperties': False}
problee_get_market_depth
5-level market depth: LMSR buy ladder or live order book, discriminated by kind
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$', 'description': 'Checksummed or lowercase 20-byte EVM address (0x + 40 hex).'}}, 'required': ['address'], 'properties': {'address': {'$ref': '#/$defs/EvmAddress', 'description': 'Market contract address.'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Chain id; probes enabled chains if omitted.', 'exclusiveMinimum': 0}}}
Ausgabeschema
{'type': 'object', '$defs': {'ChainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'DepthQuote': {'type': 'object', 'required': ['tokensOut', 'priceAfter'], 'properties': {'tokensOut': {'$ref': '#/$defs/WeiString'}, 'priceAfter': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'OrderbookDepthLevel': {'type': 'object', 'required': ['price', 'priceBps', 'amountWei', 'orderCount'], 'properties': {'price': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'priceBps': {'type': 'string', 'pattern': '^\\d+$'}, 'amountWei': {'$ref': '#/$defs/WeiString'}, 'orderCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}, 'DiscoverMarketDepthResponse': {'anyOf': [{'type': 'object', 'required': ['kind', 'marketAddress', 'chainId', 'levels', 'currentPriceOutcome1'], 'properties': {'kind': {'type': 'string', 'const': 'amm', 'default': 'amm'}, 'levels': {'type': 'array', 'items': {'type': 'object', 'required': ['size', 'amountWei', 'outcome1', 'outcome2'], 'properties': {'size': {'type': 'string'}, 'outcome1': {'anyOf': [{'$ref': '#/$defs/DepthQuote'}, {'type': 'null'}]}, 'outcome2': {'anyOf': [{'$ref': '#/$defs/DepthQuote'}, {'type': 'null'}]}, 'amountWei': {'$ref': '#/$defs/WeiString'}}, 'additionalProperties': False}, 'maxItems': 5}, 'chainId': {'$ref': '#/$defs/ChainId'}, 'marketAddress': {'$ref': '#/$defs/EvmAddress'}, 'currentPriceOutcome1': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}, {'type': 'object', 'required': ['kind', 'marketAddress', 'chainId', 'bids', 'asks', 'bestBid', 'bestAsk', 'spread', 'mid', 'currentPriceOutcome1', 'seq', 'takerFeeBps'], 'properties': {'mid': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}, 'seq': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'asks': {'type': 'array', 'items': {'$ref': '#/$defs/OrderbookDepthLevel'}, 'maxItems': 5}, 'bids': {'type': 'array', 'items': {'$ref': '#/$defs/OrderbookDepthLevel'}, 'maxItems': 5}, 'kind': {'type': 'string', 'const': 'orderbook'}, 'spread': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': -1}, {'type': 'null'}]}, 'bestAsk': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}, 'bestBid': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}, 'chainId': {'$ref': '#/$defs/ChainId'}, 'takerFeeBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'marketAddress': {'$ref': '#/$defs/EvmAddress'}, 'feePolicyVersion': {'enum': ['notional-v1', 'shares-v2'], 'type': 'string'}, 'currentPriceOutcome1': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}]}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverMarketDepthResponse'}}, 'additionalProperties': False}
problee_get_market_holders
Holder distribution + open interest for a market
Holder distribution + open interest for a market: distinct holders, verified-human count, whale count, and total shares held per outcome (open interest).
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$', 'description': 'Checksummed or lowercase 20-byte EVM address (0x + 40 hex).'}}, 'required': ['address'], 'properties': {'address': {'$ref': '#/$defs/EvmAddress', 'description': 'Market contract address.'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Chain id; probes enabled chains if omitted.', 'exclusiveMinimum': 0}}}
Ausgabeschema
{'type': 'object', '$defs': {'DiscoverMarketHoldersResponse': {'type': 'object', 'required': ['chainId', 'marketAddress', 'holders', 'verifiedHolders', 'whales', 'openInterest'], 'properties': {'whales': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'holders': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'openInterest': {'type': 'object', 'required': ['outcome1', 'outcome2', 'outcome3'], 'properties': {'outcome1': {'type': 'number', 'minimum': 0}, 'outcome2': {'type': 'number', 'minimum': 0}, 'outcome3': {'anyOf': [{'type': 'number', 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'marketAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'verifiedHolders': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverMarketHoldersResponse'}}, 'additionalProperties': False}
problee_get_market_resolution_state
Per-market public resolution state and available actions
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$', 'description': 'Checksummed or lowercase 20-byte EVM address (0x + 40 hex).'}}, 'required': ['address'], 'properties': {'address': {'$ref': '#/$defs/EvmAddress', 'description': 'Market contract address.'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Chain id; probes enabled chains if omitted.', 'exclusiveMinimum': 0}}}
Ausgabeschema
{'type': 'object', '$defs': {'ChainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, '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}, 'MarketLifecycleStage': {'enum': ['open', 'closed', 'result_proposed', 'result_challenged', 'vote_open', 'vote_closed', 'under_review', 'resolved', 'voided'], 'type': 'string'}, 'DiscoverResolutionStateResponse': {'type': 'object', 'required': ['marketAddress', 'chainId', 'marketState', 'tradingEndsAt', 'lifecycleStage', 'stageDeadline', 'resolutionStage', 'stageReason', 'closeTime', 'creatorResolveBy', 'challengeBy', 'humanVote', 'councilReviewEndsAt', 'nextActionDeadline', 'actions', 'responseWindow', 'disputeAction', 'reviewSession', 'finalOutcome'], 'properties': {'actions': {'type': 'object', 'required': ['canCreatorResolve', 'canChallenge', 'canVote', 'canClaim'], 'properties': {'reason': {'$ref': '#/$defs/ErrorReason'}, 'canVote': {'type': 'boolean'}, 'canClaim': {'type': 'boolean'}, 'canChallenge': {'type': 'boolean'}, 'creatorAddress': {'$ref': '#/$defs/EvmAddress'}, 'canCreatorResolve': {'type': 'boolean'}}, 'additionalProperties': False}, 'chainId': {'$ref': '#/$defs/ChainId'}, 'closeTime': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'humanVote': {'type': 'object', 'required': ['sessionId', 'windowStartsAt', 'deadlineImmutable', 'endsAt'], 'properties': {'endsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'sessionId': {'type': ['string', 'null']}, 'windowStartsAt': {'type': 'string', 'const': 'session_open'}, 'deadlineImmutable': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}, 'challengeBy': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'marketState': {'enum': ['open', 'closed', 'creator_proposal', 'challenge', 'human_voting', 'council_review', 'resolved', 'void'], 'type': 'string'}, 'stageReason': {'enum': ['waiting_for_response', 'response_window_elapsed', 'proposal_open', 'dispute_open', 'review_open', 'review_complete', 'resolved', 'cancelled', 'paused', 'trading'], 'type': 'string'}, 'finalOutcome': {'anyOf': [{'anyOf': [{'type': 'number', 'const': 1}, {'type': 'number', 'const': 2}, {'type': 'number', 'const': 3}]}, {'type': 'null'}]}, 'disputeAction': {'anyOf': [{'type': 'object', 'required': ['proposedOutcome', 'livenessEndsAt', 'currentRound', 'proposerBondWei', 'challengerBondWei', 'bondToken', 'preparation', 'confirmation'], 'properties': {'bondToken': {'type': 'object', 'required': ['symbol', 'address', 'decimals', 'chainId'], 'properties': {'symbol': {'type': 'string', 'minLength': 1}, 'address': {'$ref': '#/$defs/EvmAddress'}, 'chainId': {'$ref': '#/$defs/ChainId'}, 'decimals': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}}, 'additionalProperties': False}, 'preparation': {'type': 'object', 'required': ['endpoint', 'method', 'requiredInput', 'options'], 'properties': {'method': {'type': 'string', 'const': 'POST'}, 'options': {'type': 'object', 'required': ['market', 'counterOutcomeOptions'], 'properties': {'market': {'$ref': '#/$defs/EvmAddress'}, 'counterOutcomeOptions': {'type': 'array', 'items': {'anyOf': [{'type': 'number', 'const': 1}, {'type': 'number', 'const': 2}, {'type': 'number', 'const': 3}]}, 'minItems': 1}}, 'additionalProperties': False}, 'endpoint': {'type': 'string', 'const': '/api/agent/v1/resolve/challenge/prepare'}, 'requiredInput': {'type': 'array', 'items': False, 'maxItems': 3, 'minItems': 3, 'prefixItems': [{'type': 'string', 'const': 'marketAddress'}, {'type': 'string', 'const': 'counterOutcome'}, {'type': 'string', 'const': 'evidenceHash'}]}}, 'additionalProperties': False}, 'confirmation': {'type': 'object', 'required': ['endpoint', 'method'], 'properties': {'method': {'type': 'string', 'const': 'POST'}, 'endpoint': {'type': 'string', 'const': '/api/agent/v1/resolve/challenge'}}, 'additionalProperties': False}, 'currentRound': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'livenessEndsAt': {'type': 'string', '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)))$'}, 'proposedOutcome': {'anyOf': [{'type': 'number', 'const': 0}, {'type': 'number', 'const': 1}, {'type': 'number', 'const': 2}, {'type': 'number', 'const': 3}]}, 'proposerBondWei': {'$ref': '#/$defs/WeiString'}, 'challengerBondWei': {'$ref': '#/$defs/WeiString'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'marketAddress': {'$ref': '#/$defs/EvmAddress'}, 'reviewSession': {'anyOf': [{'type': 'object', 'required': ['sessionId', 'state', 'voteDeadline', 'voteCount', 'quorumRequired', 'quorumReached', 'verdictKind', 'verdict', 'voteEndpoints'], 'properties': {'state': {'enum': ['open', 'verdict'], 'type': 'string'}, 'verdict': {'anyOf': [{'anyOf': [{'type': 'number', 'const': 0}, {'type': 'number', 'const': 1}, {'type': 'number', 'const': 2}, {'type': 'number', 'const': 3}]}, {'type': 'null'}]}, 'sessionId': {'type': 'string'}, 'voteCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'verdictKind': {'anyOf': [{'enum': ['binding', 'no_quorum', 'deadlock'], 'type': 'string'}, {'type': 'null'}]}, 'voteDeadline': {'type': 'string', '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))$'}, 'quorumReached': {'type': 'boolean'}, 'voteEndpoints': {'type': 'object', 'required': ['prepare', 'confirm'], 'properties': {'confirm': {'type': 'string', 'const': '/api/v1/human-vote/vote'}, 'prepare': {'type': 'string', 'const': '/api/v1/human-vote/vote/prepare'}}, 'additionalProperties': False}, 'quorumRequired': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}}, 'additionalProperties': False}, {'type': 'null'}]}, 'stageDeadline': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'tradingEndsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'lifecycleStage': {'$ref': '#/$defs/MarketLifecycleStage'}, 'responseWindow': {'anyOf': [{'type': 'object', 'required': ['creatorAddress', 'closeTime', 'responseEndsAt', 'secondsUntilActionable', 'proposalEndpoints'], 'properties': {'closeTime': {'type': 'string', '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)))$'}, 'creatorAddress': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}, 'responseEndsAt': {'type': 'string', '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)))$'}, 'proposalEndpoints': {'type': 'object', 'required': ['prepare', 'confirm'], 'properties': {'confirm': {'type': 'string', 'const': '/api/agent/v1/resolve/propose'}, 'prepare': {'type': 'string', 'const': '/api/agent/v1/resolve/propose/prepare'}}, 'additionalProperties': False}, 'secondsUntilActionable': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}}, 'additionalProperties': False}, {'type': 'null'}]}, 'resolutionStage': {'enum': ['AWAITING_RESPONSE', 'PROPOSED', 'IN_DISPUTE', 'IN_REVIEW', 'RESOLVED', 'CANCELLED', 'PAUSED', 'NOT_IN_RESOLUTION'], 'type': 'string'}, 'creatorResolveBy': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'nextActionDeadline': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'councilReviewEndsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverResolutionStateResponse'}}, 'additionalProperties': False}
problee_get_market_state
Canonical market-state graph
Get the canonical state and state evidence for a market
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['marketAddress'], 'properties': {'chainId': {'type': 'number'}, 'marketAddress': {'type': 'string'}}}
Ausgabeschema
{'type': 'object', '$defs': {'MarketLifecycleStage': {'enum': ['open', 'closed', 'result_proposed', 'result_challenged', 'vote_open', 'vote_closed', 'under_review', 'resolved', 'voided'], 'type': 'string'}, 'McpMarketStateResponse': {'type': 'object', 'required': ['market'], 'properties': {'market': {'type': 'object', 'required': ['address', 'marketState', 'tradingEndsAt', 'lifecycleStage', 'stageDeadline', 'outcome'], 'properties': {'address': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'outcome': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'marketState': {'enum': ['open', 'closed', 'creator_proposal', 'challenge', 'human_voting', 'council_review', 'resolved', 'void'], 'type': 'string'}, 'stageDeadline': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'tradingEndsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'lifecycleStage': {'$ref': '#/$defs/MarketLifecycleStage'}}, 'additionalProperties': False}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/McpMarketStateResponse'}}, 'additionalProperties': False}
problee_get_market_trades
Recent trades for a market (newest first)
Recent trades for a market (newest first): buy/sell side, size (wei), post-trade price (0..1), and the trader wallet.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$', 'description': 'Checksummed or lowercase 20-byte EVM address (0x + 40 hex).'}}, 'required': ['address'], 'properties': {'limit': {'type': 'integer', 'default': 20, 'maximum': 100, 'minimum': 1}, 'address': {'$ref': '#/$defs/EvmAddress', 'description': 'Market contract address.'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Chain id; probes enabled chains if omitted.', 'exclusiveMinimum': 0}}}
Ausgabeschema
{'type': 'object', '$defs': {'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'DiscoverMarketTradesResponse': {'type': 'object', 'required': ['trades'], 'properties': {'trades': {'type': 'array', 'items': {'type': 'object', 'required': ['txHash', 'timestamp', 'side', 'trader', 'amount', 'price'], 'properties': {'id': {'type': 'string'}, 'side': {'type': 'string'}, 'price': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'amount': {'$ref': '#/$defs/WeiString'}, 'trader': {'$ref': '#/$defs/EvmAddress'}, 'txHash': {'type': ['string', 'null']}, 'timestamp': {'type': 'string', '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)))$'}, 'publicationState': {'anyOf': [{'enum': ['pending', 'published', 'finalized'], 'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverMarketTradesResponse'}}, 'additionalProperties': False}
problee_get_positions
List open positions for a wallet (ledger + optional mark-to-market valuation)
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['walletAddress'], 'properties': {'limit': {'type': 'integer', 'default': 100, 'maximum': 100, 'minimum': 1}, 'cursor': {'type': 'string', 'maxLength': 2048}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'include': {'enum': ['valuation'], 'type': 'string', 'description': 'Set to "valuation" to add currentPrices (0-1) and markValue per position.'}, 'marketAddress': {'type': 'string'}, 'walletAddress': {'type': 'string'}}}
Ausgabeschema
{'type': 'object', '$defs': {'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'IsoTimestamp': {'type': 'string', '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)))$'}, 'TradeFinality': {'enum': ['provisional', 'finalized'], 'type': 'string'}, 'SignedWeiString': {'type': 'string', 'pattern': '^-?\\d+$'}, 'ExactTradingRatio': {'type': 'object', 'required': ['numerator', 'denominator'], 'properties': {'numerator': {'type': 'string', 'pattern': '^-?(0|[1-9][0-9]*)$', 'maxLength': 4096}, 'denominator': {'type': 'string', 'pattern': '^[1-9][0-9]*$', 'maxLength': 4096}}, 'additionalProperties': False}, 'PositionsResponse': {'type': 'object', 'required': ['positions', 'total', 'pageSize', 'hasMore', 'nextCursor', 'aggregates'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'hasMore': {'type': 'boolean'}, 'indexer': {'$ref': '#/$defs/IndexerReadMetadata'}, 'pageSize': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'positions': {'type': 'array', 'items': {'type': 'object', 'required': ['marketAddress', 'chainId'], 'properties': {'id': {'type': 'string'}, 'userId': {'type': 'string'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'valuePm': {'anyOf': [{'type': 'string', 'pattern': '^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}, {'type': 'null'}]}, 'finality': {'$ref': '#/$defs/TradeFinality'}, 'outcomes': {'type': 'array', 'items': {'type': 'object', 'required': ['outcome', 'shares'], 'properties': {'shares': {'type': 'string', 'pattern': '^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}, 'outcome': {'type': 'string'}}, 'additionalProperties': False}}, 'createdAt': {'anyOf': [{'type': 'string', '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'}]}, 'updatedAt': {'anyOf': [{'type': 'string', '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'}]}, 'valuation': {'$ref': '#/$defs/PositionValuationItem'}, 'totalSpent': {'$ref': '#/$defs/WeiString'}, 'basisMethod': {'anyOf': [{'type': 'string', 'const': 'inventory-weighted-average-v1'}, {'type': 'null'}]}, 'explorerUrl': {'type': 'string', 'format': 'uri'}, 'realizedPnl': {'anyOf': [{'$ref': '#/$defs/SignedWeiString'}, {'type': 'null'}]}, 'marketAddress': {'type': 'string'}, 'realizedPnlPm': {'anyOf': [{'type': 'string', 'pattern': '^-?(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}, {'type': 'null'}]}, 'totalReceived': {'$ref': '#/$defs/WeiString'}, 'outcome1Shares': {'$ref': '#/$defs/WeiString'}, 'outcome2Shares': {'$ref': '#/$defs/WeiString'}, 'outcome3Shares': {'$ref': '#/$defs/WeiString'}, 'marketReference': {'type': 'string', 'pattern': '^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$'}, 'buySharesOutcome1': {'$ref': '#/$defs/WeiString'}, 'buySharesOutcome2': {'$ref': '#/$defs/WeiString'}, 'buySharesOutcome3': {'$ref': '#/$defs/WeiString'}, 'costBasisOutcome1': {'$ref': '#/$defs/WeiString'}, 'costBasisOutcome2': {'$ref': '#/$defs/WeiString'}, 'costBasisOutcome3': {'$ref': '#/$defs/WeiString'}, 'tradingPerformance': {'anyOf': [{'type': 'object', 'required': ['methodVersion', 'markMethod', 'unit', 'scope', 'measurement', 'completeness', 'unavailableReasons', 'value', 'basis', 'pnl', 'realizedPnl', 'unrealizedPnl', 'volumeWei', 'feesWei', 'state', 'outcomes'], 'properties': {'pnl': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'unit': {'type': 'object', 'required': ['symbol', 'decimals', 'cashValue'], 'properties': {'symbol': {'type': 'string'}, 'decimals': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'cashValue': {'type': 'boolean', 'const': False}}, 'additionalProperties': False}, 'basis': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'scope': {'type': 'string', 'const': 'committed_trading_market'}, 'state': {'enum': ['Open', 'Closed', 'Won', 'Lost', 'Void', 'Mixed'], 'type': 'string'}, 'value': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'feesWei': {'anyOf': [{'type': 'string', 'pattern': '^-?(0|[1-9][0-9]*)$', 'maxLength': 256}, {'type': 'null'}]}, 'outcomes': {'type': 'array', 'items': {'type': 'object', 'required': ['side', 'quantityWei', 'value', 'basis', 'pnl', 'averagePrice', 'markPrice', 'state', 'priceObservedAt', 'priceSource', 'stale'], 'properties': {'pnl': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'side': {'type': 'integer', 'maximum': 2, 'minimum': 0}, 'basis': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'stale': {'type': 'boolean'}, 'state': {'enum': ['Open', 'Closed', 'Won', 'Lost', 'Void'], 'type': 'string'}, 'value': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'markPrice': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'priceSource': {'type': ['string', 'null']}, 'quantityWei': {'type': 'string', 'pattern': '^\\d+$'}, 'averagePrice': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'priceMovement': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'priceObservedAt': {'anyOf': [{'type': 'string', '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': 'null'}]}}, 'additionalProperties': False}}, 'volumeWei': {'anyOf': [{'type': 'string', 'pattern': '^-?(0|[1-9][0-9]*)$', 'maxLength': 256}, {'type': 'null'}]}, 'markMethod': {'type': 'string', 'const': 'displayed-market-price-v1'}, 'measurement': {'type': 'object', 'required': ['asOf', 'sourceRevision'], 'properties': {'asOf': {'type': 'string', '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)))$'}, 'sourceRevision': {'type': 'string'}}, 'additionalProperties': False}, 'realizedPnl': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'completeness': {'enum': ['complete', 'incomplete'], 'type': 'string'}, 'headlinePrice': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'methodVersion': {'type': 'string', 'const': 'committed-pm-trading-account-v2'}, 'unrealizedPnl': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'ownershipAligned': {'type': 'boolean'}, 'unavailableReasons': {'type': 'array', 'items': {'type': 'string'}}, 'settlementReceivedWei': {'anyOf': [{'type': 'string', 'pattern': '^-?(0|[1-9][0-9]*)$', 'maxLength': 256}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'null'}]}, 'remainingCostBasisOutcome1': {'anyOf': [{'$ref': '#/$defs/WeiString'}, {'type': 'null'}]}, 'remainingCostBasisOutcome2': {'anyOf': [{'$ref': '#/$defs/WeiString'}, {'type': 'null'}]}, 'remainingCostBasisOutcome3': {'anyOf': [{'$ref': '#/$defs/WeiString'}, {'type': 'null'}]}}, 'additionalProperties': {}}}, 'aggregates': {'$ref': '#/$defs/PositionAggregates'}, 'nextCursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'PositionAggregates': {'type': 'object', 'required': ['nominalSharesRaw', 'monetaryByCollateral', 'unattributedPositionCount', 'monetaryAttributionComplete', 'complete', 'source'], 'properties': {'source': {'type': 'string', 'const': 'materialized_positions'}, 'complete': {'type': 'boolean', 'const': True}, 'nominalSharesRaw': {'type': 'object', 'required': ['outcome1', 'outcome2', 'outcome3', 'scope'], 'properties': {'scope': {'type': 'string', 'const': 'cross_market_nominal'}, 'outcome1': {'$ref': '#/$defs/SignedWeiString'}, 'outcome2': {'$ref': '#/$defs/SignedWeiString'}, 'outcome3': {'$ref': '#/$defs/SignedWeiString'}}, 'additionalProperties': False}, 'monetaryByCollateral': {'type': 'array', 'items': {'type': 'object', 'required': ['chainId', 'collateralToken', 'collateralDecimals', 'positionCount', 'totalSpentBaseUnits', 'totalReceivedBaseUnits', 'realizedPnlBaseUnits'], 'properties': {'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'basisMethod': {'anyOf': [{'type': 'string', 'const': 'inventory-weighted-average-v1'}, {'type': 'null'}]}, 'positionCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'collateralToken': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'collateralDecimals': {'type': 'integer', 'maximum': 255, 'minimum': 0}, 'totalSpentBaseUnits': {'$ref': '#/$defs/SignedWeiString'}, 'realizedPnlBaseUnits': {'type': 'null'}, 'totalReceivedBaseUnits': {'$ref': '#/$defs/SignedWeiString'}}, 'additionalProperties': False}}, 'unattributedPositionCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'monetaryAttributionComplete': {'type': 'boolean'}}, 'additionalProperties': False}, 'IndexerReadMetadata': {'type': 'object', 'required': ['source', 'status', 'lastCheckedAt', 'degradedReason'], 'properties': {'source': {'type': 'string', 'const': 'indexer'}, 'status': {'enum': ['ok', 'degraded'], 'type': 'string'}, 'lastCheckedAt': {'anyOf': [{'$ref': '#/$defs/IsoTimestamp'}, {'type': 'null'}]}, 'degradedReason': {'anyOf': [{'type': 'string', 'const': 'INDEXER_UNHEALTHY'}, {'type': 'null'}]}, 'minedTierAvailable': {'type': 'boolean'}, 'finalizedThroughBlock': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'null'}]}}, 'additionalProperties': False}, 'PositionValuationItem': {'type': 'object', 'required': ['status', 'currentPrices', 'markValue', 'updatedAt'], 'properties': {'status': {'enum': ['available', 'unavailable', 'not_applicable'], 'type': 'string'}, 'markValue': {'anyOf': [{'$ref': '#/$defs/WeiString'}, {'type': 'null'}]}, 'updatedAt': {'anyOf': [{'$ref': '#/$defs/IsoTimestamp'}, {'type': 'null'}]}, 'currentPrices': {'anyOf': [{'type': 'object', 'required': ['outcome1', 'outcome2'], 'properties': {'outcome1': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}, 'outcome2': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}, 'outcome3': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/PositionsResponse'}}, 'additionalProperties': False}
problee_get_rules
Canonical public protocol rules for resolution windows, bonds, fund flows, and actor actions
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'ProtocolRulesResponse': {'type': 'object', 'required': ['rulesVersion', 'resolution', 'bonds', 'fundFlows', 'actorModel', 'deadlineFields', 'references'], 'properties': {'bonds': {'type': 'object', 'required': ['creator', 'challenger'], 'properties': {'creator': {'type': 'object', 'required': ['ratioOfSeed', 'minProtocolToken', 'maxProtocolToken'], 'properties': {'ratioOfSeed': {'type': 'number', 'minimum': 0}, 'maxProtocolToken': {'anyOf': [{'type': 'number', 'minimum': 0}, {'type': 'null'}]}, 'minProtocolToken': {'type': 'number', 'minimum': 0}}, 'additionalProperties': False}, 'challenger': {'type': 'string', 'const': 'equals_market_protocol_creation_bond'}}, 'additionalProperties': False}, 'fundFlows': {'type': 'object', 'required': ['creatorResolvedUnchallenged', 'challengerRight', 'challengerWrong', 'creatorMia'], 'properties': {'creatorMia': {'type': 'object', 'required': ['miaKeeper', 'treasury', 'voterPool', 'seed'], 'properties': {'seed': {'type': 'string', 'const': 'not_slashed'}, 'treasury': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'miaKeeper': {'type': 'object', 'required': ['shareBps', 'capProtocolToken'], 'properties': {'shareBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'capProtocolToken': {'type': 'number', 'minimum': 0}}, 'additionalProperties': False}, 'voterPool': {'type': 'string', 'const': 'remainder_after_keeper_and_treasury'}}, 'additionalProperties': False}, 'challengerRight': {'type': 'object', 'required': ['challenger', 'treasury', 'correctVoters'], 'properties': {'treasury': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'challenger': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'correctVoters': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}, 'challengerWrong': {'type': 'object', 'required': ['creator', 'treasury', 'correctVoters'], 'properties': {'creator': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'treasury': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'correctVoters': {'type': 'number', 'maximum': 1, 'minimum': 0}}, 'additionalProperties': False}, 'creatorResolvedUnchallenged': {'type': 'object', 'required': ['bond', 'seed'], 'properties': {'bond': {'type': 'string', 'const': 'returned'}, 'seed': {'type': 'string', 'const': 'sweepable_after_finality'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'actorModel': {'type': 'object', 'required': ['creatorResolve', 'challenge', 'vote', 'council'], 'properties': {'vote': {'type': 'object', 'required': ['who', 'unlinkedAgentWallets'], 'properties': {'who': {'type': 'string', 'const': 'any_wallet_staked'}, 'unlinkedAgentWallets': {'type': 'string', 'const': 'vote_by_staking'}}, 'additionalProperties': False}, 'council': {'type': 'object', 'required': ['powers', 'limits'], 'properties': {'limits': {'type': 'array', 'items': {'enum': ['cannot_act_before_human_vote_ends'], 'type': 'string'}}, 'powers': {'type': 'array', 'items': {'enum': ['decide_any_valid_outcome_after_human_vote', 'void_after_human_vote', 'restart_for_integrity'], 'type': 'string'}}}, 'additionalProperties': False}, 'challenge': {'type': 'object', 'required': ['who', 'window', 'refusedAfterWindow'], 'properties': {'who': {'type': 'string', 'const': 'eligible_challenger'}, 'window': {'type': 'string', 'const': 'proposal_created_to_challengeBy'}, 'refusedAfterWindow': {'type': 'string', 'const': 'CHALLENGE_WINDOW_CLOSED'}}, 'additionalProperties': False}, 'creatorResolve': {'type': 'object', 'required': ['who', 'window', 'refusedAfterWindow'], 'properties': {'who': {'type': 'string', 'const': 'market_creator'}, 'window': {'type': 'string', 'const': 'openTime_to_creatorResolveBy'}, 'refusedAfterWindow': {'type': 'string', 'const': 'CREATOR_WINDOW_ELAPSED'}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'references': {'type': 'object', 'required': ['fees', 'marketStates', 'eligibility', 'perMarketState'], 'properties': {'fees': {'type': 'string', 'const': '/discover/fees'}, 'eligibility': {'type': 'string', 'const': '/discover/reputation'}, 'marketStates': {'type': 'string', 'const': '/discover/market-states'}, 'perMarketState': {'type': 'string', 'const': '/discover/markets/:address/resolution-state'}}, 'additionalProperties': False}, 'resolution': {'type': 'object', 'required': ['creatorWindow', 'challengeWindow', 'humanVote', 'councilReview'], 'properties': {'humanVote': {'type': 'object', 'required': ['sessions', 'windowSeconds', 'windowStartsAt', 'deadlineImmutable', 'ballotWeight', 'reputationAffectsTally', 'quorum', 'result', 'eligibility'], 'properties': {'quorum': {'type': 'object', 'required': ['lowExposure', 'highExposure', 'exposureMetric', 'highExposureThresholds', 'thresholdPolicyHash', 'source'], 'properties': {'source': {'type': 'string', 'const': 'signed_release_manifest'}, 'lowExposure': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1}, 'highExposure': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1}, 'exposureMetric': {'type': 'string', 'const': 'market_locked_collateral_wei'}, 'thresholdPolicyHash': {'type': 'string', 'pattern': '^0x[0-9a-f]{64}$'}, 'highExposureThresholds': {'type': 'array', 'items': {'type': 'object', 'required': ['collateralAddress', 'thresholdWei'], 'properties': {'thresholdWei': {'type': 'string', 'pattern': '^[1-9][0-9]*$'}, 'collateralAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}}, 'additionalProperties': False}, 'minItems': 1}}, 'additionalProperties': False}, 'result': {'type': 'object', 'required': ['uniqueHighestAtQuorum', 'tieAtQuorum', 'belowQuorum'], 'properties': {'belowQuorum': {'type': 'string', 'const': 'no_quorum'}, 'tieAtQuorum': {'type': 'string', 'const': 'deadlock'}, 'uniqueHighestAtQuorum': {'type': 'string', 'const': 'guidance_default_if_council_silent'}}, 'additionalProperties': False}, 'sessions': {'type': 'number', 'const': 1}, 'eligibility': {'type': 'object', 'required': ['verifiedIdentityRequired', 'oneVotePerVerifiedIdentity', 'linkedAgentWalletsMayVoteForOwnIdentity', 'unlinkedAgentWalletsRefused', 'allBallotsStaked', 'stakeSource', 'oneBallotPerVoter', 'correctStakeOutcome', 'incorrectStakeOutcome', 'nonBindingSessionStakeOutcome', 'tierGateReference'], 'properties': {'stakeSource': {'type': 'string', 'const': 'economy.voting.unverifiedStakePm'}, 'allBallotsStaked': {'type': 'boolean', 'const': True}, 'oneBallotPerVoter': {'type': 'boolean', 'const': True}, 'tierGateReference': {'type': 'string', 'const': '/discover/reputation'}, 'correctStakeOutcome': {'type': 'string', 'const': 'refunded_plus_share_of_slashed_stakes_and_reward_pool'}, 'incorrectStakeOutcome': {'type': 'string', 'const': 'slashed_to_session_correct_voters'}, 'verifiedIdentityRequired': {'type': 'boolean', 'const': False}, 'oneVotePerVerifiedIdentity': {'type': 'boolean', 'const': True}, 'unlinkedAgentWalletsRefused': {'type': 'boolean', 'const': False}, 'nonBindingSessionStakeOutcome': {'type': 'string', 'const': 'refunded_in_full'}, 'linkedAgentWalletsMayVoteForOwnIdentity': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}, 'ballotWeight': {'type': 'string', 'const': 'one_staked_ballot_one_equal_vote'}, 'windowSeconds': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'windowStartsAt': {'type': 'string', 'const': 'session_open'}, 'deadlineImmutable': {'type': 'boolean', 'const': True}, 'reputationAffectsTally': {'type': 'boolean', 'const': False}}, 'additionalProperties': False}, 'councilReview': {'type': 'object', 'required': ['seconds', 'source', 'can', 'cannot', 'silence'], 'properties': {'can': {'type': 'array', 'items': {'enum': ['decide_any_valid_outcome_after_human_vote', 'void_after_human_vote', 'restart_for_integrity'], 'type': 'string'}}, 'cannot': {'type': 'array', 'items': {'enum': ['act_before_human_vote_ends'], 'type': 'string'}}, 'source': {'type': 'string', 'const': 'signed_release_manifest'}, 'seconds': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'silence': {'type': 'string', 'const': 'unique_vote_result_else_neutral_void'}}, 'additionalProperties': False}, 'creatorWindow': {'type': 'object', 'required': ['startsAt', 'deadlineAnchor', 'graceSecondsAfterClose', 'onMiss'], 'properties': {'onMiss': {'type': 'object', 'required': ['state', 'bond', 'seed', 'slashSplit'], 'properties': {'bond': {'type': 'string', 'const': 'creation_bond_slashed'}, 'seed': {'type': 'string', 'const': 'not_slashed_residual_sweepable_after_finality'}, 'state': {'type': 'string', 'const': 'creator_mia'}, 'slashSplit': {'type': 'object', 'required': ['miaKeeperBps', 'miaKeeperCapProtocolToken', 'treasury', 'voterPool'], 'properties': {'treasury': {'type': 'number', 'maximum': 1, 'minimum': 0}, 'voterPool': {'type': 'string', 'const': 'remainder_after_keeper_and_treasury'}, 'miaKeeperBps': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'miaKeeperCapProtocolToken': {'type': 'number', 'minimum': 0}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'startsAt': {'type': 'string', 'const': 'openTime'}, 'deadlineAnchor': {'type': 'string', 'const': 'closeTime'}, 'graceSecondsAfterClose': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}}, 'additionalProperties': False}, 'challengeWindow': {'type': 'object', 'required': ['seconds', 'bond'], 'properties': {'bond': {'type': 'string', 'const': 'equals_market_protocol_creation_bond'}, 'seconds': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'rulesVersion': {'type': 'string', 'const': '2026-08-28-staked-voting-v1'}, 'deadlineFields': {'type': 'array', 'items': {'enum': ['closeTime', 'creatorResolveBy', 'challengeBy', 'humanVote.endsAt', 'councilReviewEndsAt', 'nextActionDeadline'], 'type': 'string'}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/ProtocolRulesResponse'}}, 'additionalProperties': False}
problee_get_server_time
Server time (ms epoch) for clock-skew measurement
Return the protocol server wall-clock time as Unix epoch milliseconds. Use before quoting to measure client clock skew. Unauthenticated. Examples: Current server epoch ms
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'ServerTimeResponse': {'type': 'object', 'required': ['serverTime'], 'properties': {'serverTime': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/ServerTimeResponse'}}, 'additionalProperties': False}
problee_get_token_release
Get the active participation-token release manifest
Return the active versioned participation-token profile, deployment evidence, test/production stage, and distributor release IDs. This is separate from live market collateral discovery.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'DiscoverTokenReleaseResponse': {'type': 'object', 'required': ['profileId', 'stage', 'deployed', 'token', 'origin', 'representations', 'distributors'], 'properties': {'stage': {'enum': ['test', 'production'], 'type': 'string'}, 'token': {'type': 'object', 'required': ['name', 'symbol', 'decimals', 'totalSupplyWei', 'logoPath', 'disclaimer'], 'properties': {'name': {'type': 'string', 'minLength': 1}, 'symbol': {'type': 'string', 'minLength': 1}, 'decimals': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'logoPath': {'type': 'string', 'minLength': 1}, 'disclaimer': {'type': ['string', 'null']}, 'totalSupplyWei': {'type': 'string', 'pattern': '^\\d+$'}}, 'additionalProperties': False}, 'origin': {'anyOf': [{'type': 'object', 'required': ['chainId', 'address', 'fromBlock', 'deploymentTxHash', 'deploymentBlockHash', 'runtimeCodeHash'], 'properties': {'address': {'$ref': '#/$defs/EvmAddress'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'fromBlock': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'runtimeCodeHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}, 'deploymentTxHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}, 'deploymentBlockHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'deployed': {'type': 'boolean'}, 'profileId': {'type': 'string', 'minLength': 1}, 'distributors': {'type': 'array', 'items': {'type': 'object', 'required': ['chainId', 'address', 'fromBlock', 'deploymentTxHash', 'deploymentBlockHash', 'runtimeCodeHash', 'releaseId', 'distributorEpoch', 'tokenAddress'], 'properties': {'address': {'$ref': '#/$defs/EvmAddress'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'fromBlock': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'releaseId': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}, 'tokenAddress': {'$ref': '#/$defs/EvmAddress'}, 'runtimeCodeHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}, 'deploymentTxHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}, 'distributorEpoch': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'deploymentBlockHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}}, 'additionalProperties': False}}, 'representations': {'type': 'array', 'items': {'type': 'object', 'required': ['chainId', 'address', 'fromBlock', 'deploymentTxHash', 'deploymentBlockHash', 'runtimeCodeHash', 'originChainId', 'originTokenAddress', 'bridgeAdapterAddress'], 'properties': {'address': {'$ref': '#/$defs/EvmAddress'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'fromBlock': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'originChainId': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'runtimeCodeHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}, 'deploymentTxHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}, 'originTokenAddress': {'$ref': '#/$defs/EvmAddress'}, 'deploymentBlockHash': {'type': 'string', 'pattern': '^0x[0-9a-fA-F]{64}$'}, 'bridgeAdapterAddress': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverTokenReleaseResponse'}}, 'additionalProperties': False}
problee_get_trade_status
Lookup a submitted trade by transaction hash and chain
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['txHash', 'chainId'], 'properties': {'txHash': {'type': 'string', 'description': 'Transaction hash to look up (0x + 64 hex).'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Active chain the transaction was broadcast on. Discover IDs via GET /discover/chains.', 'exclusiveMinimum': 0}}}
Ausgabeschema
{'type': 'object', '$defs': {'ChainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'RecordedOn': {'type': 'object', 'required': ['explorer'], 'properties': {'txUrl': {'type': 'string', 'format': 'uri'}, 'explorer': {'type': 'string', 'maxLength': 32, 'minLength': 1}, 'verifyUrl': {'type': 'string', 'format': 'uri'}, 'addressTransfersUrl': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}, 'TradeFinality': {'enum': ['provisional', 'finalized'], 'type': 'string'}, 'AgentTradeFill': {'type': 'object', 'required': ['chainId', 'txHash', 'id', 'marketAddress', 'trader', 'side', 'outcomeIndex', 'direction', 'sharesDelta', 'collateralDelta', 'priceRaw', 'priceRawScale', 'priceDecimal', 'priceE18', 'timestamp'], 'properties': {'id': {'type': 'string'}, 'side': {'type': 'string'}, 'trader': {'$ref': '#/$defs/EvmAddress'}, 'txHash': {'type': ['string', 'null']}, 'chainId': {'$ref': '#/$defs/ChainId'}, 'clOrdId': {'$ref': '#/$defs/OrderbookClOrdId'}, 'feePaid': {'type': ['string', 'null']}, 'finality': {'$ref': '#/$defs/TradeFinality'}, 'priceE18': {'type': 'string'}, 'priceRaw': {'type': 'string'}, 'direction': {'enum': ['buy', 'sell', 'redeem'], 'type': 'string'}, 'timestamp': {'anyOf': [{'type': 'string', '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'}]}, 'batchNonce': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'null'}]}, 'recordedOn': {'$ref': '#/$defs/RecordedOn'}, 'batchTxHash': {'type': ['string', 'null']}, 'explorerUrl': {'type': 'string', 'format': 'uri'}, 'sharesDelta': {'type': 'string'}, 'outcomeIndex': {'anyOf': [{'type': 'number', 'const': 0}, {'type': 'number', 'const': 1}, {'type': 'number', 'const': 2}]}, 'priceDecimal': {'type': 'string'}, 'liquidityRole': {'enum': ['maker', 'taker'], 'type': 'string'}, 'marketAddress': {'$ref': '#/$defs/EvmAddress'}, 'priceRawScale': {'enum': ['fixed_1e18', 'decimal_0_1'], 'type': 'string'}, 'settlementMode': {'enum': ['committed', 'onchain'], 'type': 'string'}, 'collateralDelta': {'type': 'string'}, 'executionStatus': {'type': 'string', 'const': 'executed'}, 'logicalTradeKey': {'type': 'string'}, 'settlementState': {'$ref': '#/$defs/FillSettlementState'}, 'principalReceipt': {'type': 'object', 'required': ['authority', 'movementKey', 'collateralDelta', 'feePaid', 'shareEntryKey', 'collateralEntryKey', 'feeEntryKey'], 'properties': {'feePaid': {'type': 'string', 'pattern': '^\\d+$', 'maxLength': 78}, 'authority': {'type': 'string', 'const': 'committed_ledger'}, 'feeEntryKey': {'anyOf': [{'type': 'string', 'maxLength': 512, 'minLength': 1}, {'type': 'null'}]}, 'movementKey': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'shareEntryKey': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'collateralDelta': {'type': 'string', 'pattern': '^-?\\d+$', 'maxLength': 80}, 'collateralEntryKey': {'anyOf': [{'type': 'string', 'maxLength': 512, 'minLength': 1}, {'type': 'null'}]}}, 'additionalProperties': False}, 'publicationState': {'enum': ['pending', 'published', 'finalized'], 'type': 'string'}}, 'additionalProperties': False}, 'OrderbookClOrdId': {'type': 'string', 'maxLength': 200}, 'FillSettlementState': {'enum': ['pending', 'committed', 'finalized'], 'type': 'string'}, 'TradeStatusResponse': {'type': 'object', 'required': ['txHash', 'chainId', 'status', 'indexed', 'pending'], 'properties': {'status': {'enum': ['indexed', 'pending', 'not_found'], 'type': 'string'}, 'txHash': {'type': 'string'}, 'chainId': {'$ref': '#/$defs/ChainId'}, 'indexed': {'type': 'array', 'items': {'$ref': '#/$defs/AgentTradeFill'}}, 'pending': {'anyOf': [{'type': 'object', 'required': ['marketAddress', 'userAddress', 'status', 'createdAt'], 'properties': {'side': {'enum': ['outcome1', 'outcome2', 'outcome3'], 'type': 'string'}, 'status': {'enum': ['broadcasted', 'mined'], 'type': 'string'}, 'createdAt': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'userAddress': {'$ref': '#/$defs/EvmAddress'}, 'marketAddress': {'$ref': '#/$defs/EvmAddress'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'finality': {'$ref': '#/$defs/TradeFinality'}, 'explorerUrl': {'type': 'string', 'format': 'uri'}, 'provisional': {'type': 'array', 'items': {'$ref': '#/$defs/AgentTradeFill'}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/TradeStatusResponse'}}, 'additionalProperties': False}
problee_list_capabilities
List capabilities available to the authenticated agent
List protocol capabilities available at the authenticated agent tier (endpoint catalog for the current key).
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'DiscoverCapabilitiesResponse': {'type': 'object', 'required': ['capabilities'], 'properties': {'capabilities': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'category', 'requiredTier', 'description', 'method', 'path', 'idempotent', 'surface'], 'properties': {'name': {'type': 'string'}, 'path': {'type': 'string'}, 'method': {'enum': ['GET', 'POST', 'PUT', 'PATCH', 'DELETE', 'HEAD'], 'type': 'string'}, 'surface': {'type': 'string', 'const': 'agent'}, 'category': {'type': 'string'}, 'idempotent': {'type': 'boolean'}, 'description': {'type': 'string'}, 'requiredTier': {'enum': ['read-only', 'propose', 'execute'], 'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverCapabilitiesResponse'}}, 'additionalProperties': False}
problee_list_chains
List supported chains
List all supported blockchain networks
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'McpDiscoverChainsResponse': {'type': 'array', 'items': {'type': 'object', 'required': ['chainId', 'name', 'type', 'blockExplorerUrl', 'enabled'], 'properties': {'name': {'type': 'string'}, 'type': {'type': 'string'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'enabled': {'type': 'boolean'}, 'blockExplorerUrl': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/McpDiscoverChainsResponse'}}, 'additionalProperties': False}
problee_list_collateral
List public launch collateral tokens
List public launch collateral tokens (symbol, address, decimals, chainId). chainId is optional only when exactly one chain is active.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Optional only when exactly one chain is active; required when multiple chains are active.', 'exclusiveMinimum': 0}}}
Ausgabeschema
{'type': 'object', '$defs': {'DiscoverCollateralResponse': {'type': 'object', 'required': ['tokens'], 'properties': {'tokens': {'type': 'array', 'items': {'type': 'object', 'required': ['token', 'symbol', 'decimals', 'chainId', 'enabled'], 'properties': {'token': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'symbol': {'type': 'string', 'maxLength': 16, 'minLength': 1}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'enabled': {'type': 'boolean'}, 'decimals': {'type': 'integer', 'maximum': 30, 'minimum': 0}, 'settlement': {'enum': ['onchain', 'committed'], 'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverCollateralResponse'}}, 'additionalProperties': False}
problee_list_event_types
List all protocol event types
List every protocol WebSocket event type, its description, and its webhook equivalent (if bridged). Full connection details live in problee_discover_events.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'EventsTypesResponse': {'type': 'object', 'required': ['types', 'activeConnections', 'discoveryEndpoint'], 'properties': {'types': {'type': 'array', 'items': {'type': 'object', 'required': ['type', 'description', 'transports'], 'properties': {'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'}, 'transports': {'type': 'object', 'required': ['webSocket', 'webhook'], 'properties': {'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'}]}, 'webSocket': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}, 'description': {'type': 'string'}}, 'additionalProperties': False}}, 'activeConnections': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'discoveryEndpoint': {'type': 'string', 'const': '/api/agent/v1/events/discovery'}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/EventsTypesResponse'}}, 'additionalProperties': False}
problee_list_leaderboard
Public trader, creator, and voter leaderboard
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'LeaderboardSort': {'enum': ['PNL', 'VOLUME', 'RISK_ADJ_PNL', 'CREATOR_QUALITY', 'VOTERS', 'RETURN', 'MARKETS', 'SETTLED', 'WINS', 'WIN_RATE'], 'type': 'string', 'description': "Board ordering. `MARKETS`, `SETTLED` and `WINS` rank the table's count columns; `WIN_RATE` ranks Wins ÷ Settled among accounts with enough settled markets. Ties on any board are ordered by Volume, then P&L. OPEN enum: boards are added over time — tolerate unseen values.", 'x-extensible-enum': True}, 'LeaderboardPeriod': {'enum': ['7d', '30d', 'all', 'season', 'season7d', 'season30d'], 'type': 'string', '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.", 'x-extensible-enum': True}, 'ServedCollateralSymbol': {'type': 'string', 'maxLength': 16, 'minLength': 1, '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.'}}, 'properties': {'sort': {'$ref': '#/$defs/LeaderboardSort', 'default': 'PNL', 'description': 'PNL, VOLUME (traders). Legacy RETURN aliases PNL. RISK_ADJ_PNL is legacy. CREATOR_QUALITY (creators), or VOTERS.'}, 'limit': {'type': 'integer', 'default': 50, 'maximum': 100, 'minimum': 1}, 'offset': {'type': 'integer', 'default': 0, 'maximum': 200, 'minimum': 0}, '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.'}, 'category': {'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', 'default': 'ALL', 'description': 'Market category for PNL and VOLUME.'}, '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': {'type': 'string', '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)$', 'description': 'Pin the generation from the preceding leaderboard response.'}}}
Ausgabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'ReputationTier': {'enum': ['banned', 'new', 'established', 'trusted', 'expert', 'legend'], 'type': 'string'}, 'WalletIdentity': {'type': 'object', 'required': ['displayName', 'generatedName', 'avatarUrl'], 'properties': {'actorType': {'anyOf': [{'enum': ['human', 'agent', 'venue'], 'type': 'string'}, {'type': 'null'}]}, 'avatarUrl': {'type': ['string', 'null']}, 'displayName': {'type': ['string', 'null']}, 'generatedName': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'ExactTradingRatio': {'type': 'object', 'required': ['numerator', 'denominator'], 'properties': {'numerator': {'type': 'string', 'pattern': '^-?(0|[1-9][0-9]*)$', 'maxLength': 4096}, 'denominator': {'type': 'string', 'pattern': '^[1-9][0-9]*$', 'maxLength': 4096}}, 'additionalProperties': False}, 'LeaderboardPeriod': {'enum': ['7d', '30d', 'all', 'season', 'season7d', 'season30d'], 'type': 'string', 'x-extensible-enum': True}, 'LeaderboardResponse': {'anyOf': [{'type': 'object', 'required': ['updatedAt', 'total', 'hasMore', 'traders'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'period': {'$ref': '#/$defs/LeaderboardPeriod'}, 'hasMore': {'type': 'boolean'}, 'traders': {'type': 'array', 'items': {'type': 'object', 'required': ['rank', 'address', 'pnl', 'volume', 'marketsTraded', 'wins', 'losses', 'winRate', 'reputationTier'], 'properties': {'pnl': {'anyOf': [{'type': 'string', 'pattern': '^-?\\d+(?:\\.\\d+)?$'}, {'type': 'null'}]}, 'rank': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'wins': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, {'type': 'null'}]}, 'losses': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, {'type': 'null'}]}, 'volume': {'anyOf': [{'type': 'string', 'pattern': '^\\d+(?:\\.\\d+)?$'}, {'type': 'null'}]}, 'address': {'$ref': '#/$defs/EvmAddress'}, 'winRate': {'anyOf': [{'type': 'number', 'maximum': 100, 'minimum': 0}, {'type': 'null'}]}, 'identity': {'anyOf': [{'$ref': '#/$defs/WalletIdentity'}, {'type': 'null'}]}, 'performance': {'type': 'object', 'required': ['pnl', 'return', 'volumeWei'], 'properties': {'pnl': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'return': {'anyOf': [{'$ref': '#/$defs/ExactTradingRatio'}, {'type': 'null'}]}, 'volumeWei': {'anyOf': [{'type': 'string', 'pattern': '^-?(0|[1-9][0-9]*)$', 'maxLength': 256}, {'type': 'null'}]}}, 'additionalProperties': False}, 'marketsTraded': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'returnPercent': {'anyOf': [{'type': 'string', 'pattern': '^-?\\d+(?:\\.\\d+)?$'}, {'type': 'null'}]}, 'reputationTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}, 'settledMarkets': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, {'type': 'null'}]}, 'sourceRevision': {'type': 'string'}, 'riskAdjustedPnl': {'type': 'string', 'pattern': '^-?\\d+(?:\\.\\d+)?$'}, 'unavailableReasons': {'type': 'array', 'items': {'type': 'string'}}}, 'additionalProperties': False}}, 'updatedAt': {'type': ['string', 'null']}, 'measurement': {'$ref': '#/$defs/LeaderboardMeasurement'}, 'minSettledMarketsToRank': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1}}, 'additionalProperties': False}, {'type': 'object', 'required': ['updatedAt', 'total', 'hasMore', 'creators'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'period': {'$ref': '#/$defs/LeaderboardPeriod'}, 'hasMore': {'type': 'boolean'}, 'creators': {'type': 'array', 'items': {'type': 'object', 'required': ['rank', 'address', 'tier', 'marketsCreated', 'resolvedCount', 'marketsVoided', 'marketsOverturned', 'upheldRate', 'cleanResolutionRate', 'reputationTier'], 'properties': {'rank': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'tier': {'$ref': '#/$defs/ReputationTier'}, 'address': {'$ref': '#/$defs/EvmAddress'}, 'identity': {'anyOf': [{'$ref': '#/$defs/WalletIdentity'}, {'type': 'null'}]}, 'upheldRate': {'anyOf': [{'type': 'number', 'maximum': 100, 'minimum': 0}, {'type': 'null'}]}, 'marketsVoided': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'resolvedCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'marketsCreated': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'reputationTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}, 'marketsOverturned': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'cleanResolutionRate': {'anyOf': [{'type': 'number', 'maximum': 100, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'updatedAt': {'type': ['string', 'null']}, 'generatedAt': {'type': 'string', '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))$'}, 'measurement': {'$ref': '#/$defs/LeaderboardMeasurement'}}, 'additionalProperties': False}, {'type': 'object', 'required': ['updatedAt', 'total', 'hasMore', 'voters'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'period': {'$ref': '#/$defs/LeaderboardPeriod'}, 'voters': {'type': 'array', 'items': {'type': 'object', 'required': ['rank', 'address', 'rewardTotal', 'voteCount', 'correctCount', 'accuracy', 'reputationTier'], 'properties': {'rank': {'type': 'integer', 'maximum': 9007199254740991, 'exclusiveMinimum': 0}, 'address': {'$ref': '#/$defs/EvmAddress'}, 'accuracy': {'anyOf': [{'type': 'number', 'maximum': 100, 'minimum': 0}, {'type': 'null'}]}, 'identity': {'anyOf': [{'$ref': '#/$defs/WalletIdentity'}, {'type': 'null'}]}, 'voteCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'rewardTotal': {'type': 'string'}, 'correctCount': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, {'type': 'null'}]}, 'reputationTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'hasMore': {'type': 'boolean'}, 'updatedAt': {'type': ['string', 'null']}, 'generatedAt': {'type': 'string', '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))$'}, 'measurement': {'$ref': '#/$defs/LeaderboardMeasurement'}}, 'additionalProperties': False}]}, 'LeaderboardMeasurement': {'type': 'object', 'required': ['methodVersion', 'markMethod', 'unit', 'scope', 'category', 'sort', 'generation', 'period', 'asOf', 'stale', 'evaluatedAccounts', 'availableAccounts'], 'properties': {'asOf': {'type': 'string', '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))$'}, 'sort': {'enum': ['PNL', 'VOLUME', 'RISK_ADJ_PNL', 'CREATOR_QUALITY', 'VOTERS', 'RETURN', 'MARKETS', 'SETTLED', 'WINS', 'WIN_RATE'], 'type': 'string', 'x-extensible-enum': True}, 'unit': {'type': 'object', 'required': ['symbol', 'decimals', 'cashValue'], 'properties': {'symbol': {'type': 'string'}, 'decimals': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'cashValue': {'type': 'boolean', 'const': False}}, 'additionalProperties': False}, 'scope': {'enum': ['committed_trading_account', 'committed_trading_category'], 'type': 'string'}, 'stale': {'type': 'boolean'}, 'period': {'type': 'object', 'required': ['kind', 'start', 'end'], 'properties': {'end': {'type': 'string', '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))$'}, 'kind': {'$ref': '#/$defs/LeaderboardPeriod'}, 'start': {'type': 'string', '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))$'}}, 'additionalProperties': False}, 'category': {'type': 'string'}, 'generation': {'type': 'string'}, 'markMethod': {'type': 'string', 'const': 'displayed-market-price-v1'}, 'methodVersion': {'type': 'string', 'const': 'committed-pm-trading-account-v2'}, 'availableAccounts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'evaluatedAccounts': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/LeaderboardResponse'}}, 'additionalProperties': False}
problee_list_market_comments
Position- and reputation-tagged human comments on a market (read-only)
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$', 'description': 'Checksummed or lowercase 20-byte EVM address (0x + 40 hex).'}}, 'required': ['address'], 'properties': {'limit': {'type': 'integer', 'default': 20, 'maximum': 50, 'minimum': 1}, 'cursor': {'type': 'string', '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)$', 'description': 'nextCursor from a prior call.'}, 'address': {'$ref': '#/$defs/EvmAddress', 'description': 'Market contract address.'}}}
Ausgabeschema
{'type': 'object', '$defs': {'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'ReputationTier': {'enum': ['banned', 'new', 'established', 'trusted', 'expert', 'legend'], 'type': 'string'}, 'CommentPositionSnapshot': {'type': 'object', 'required': ['v', 'capturedAt', 'collateralDecimals', 'outcome1Shares', 'outcome2Shares', 'outcome3Shares', 'avgEntry', 'prices'], 'properties': {'v': {'type': 'number', 'const': 1}, 'prices': {'anyOf': [{'type': 'object', 'required': ['outcome1', 'outcome2', 'pricingTimestampMs'], 'properties': {'outcome1': {'type': 'number'}, 'outcome2': {'type': 'number'}, 'outcome3': {'type': 'number'}, 'pricingTimestampMs': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'null'}]}, 'avgEntry': {'type': 'object', 'required': ['outcome1', 'outcome2'], 'properties': {'outcome1': {'type': ['number', 'null']}, 'outcome2': {'type': ['number', 'null']}, 'outcome3': {'type': ['number', 'null']}}, 'additionalProperties': False}, 'capturedAt': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'outcome1Shares': {'$ref': '#/$defs/WeiString'}, 'outcome2Shares': {'$ref': '#/$defs/WeiString'}, 'outcome3Shares': {'$ref': '#/$defs/WeiString'}, 'collateralDecimals': {'type': 'integer', 'maximum': 36, 'minimum': 0}}, 'additionalProperties': False}, 'DiscoverMarketCommentsResponse': {'type': 'object', 'required': ['comments', 'nextCursor', 'hasMore'], 'properties': {'total': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'hasMore': {'type': 'boolean'}, 'comments': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'walletAddress', 'content', 'createdAt', 'updatedAt', 'authorReputationTier', 'positionSnapshot', 'reactionCount', 'replyCount', 'replies'], 'properties': {'id': {'type': 'string'}, 'content': {'type': 'string'}, 'replies': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'walletAddress', 'content', 'createdAt', 'updatedAt', 'authorReputationTier', 'positionSnapshot'], 'properties': {'id': {'type': 'string'}, 'content': {'type': 'string'}, 'createdAt': {'type': 'string', '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)))$'}, 'updatedAt': {'type': 'string', '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)))$'}, 'walletAddress': {'$ref': '#/$defs/EvmAddress'}, 'positionSnapshot': {'anyOf': [{'$ref': '#/$defs/CommentPositionSnapshot'}, {'type': 'null'}]}, 'authorReputationTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'createdAt': {'type': 'string', '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)))$'}, 'updatedAt': {'type': 'string', '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)))$'}, 'replyCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'reactionCount': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 0}, 'walletAddress': {'$ref': '#/$defs/EvmAddress'}, 'positionSnapshot': {'anyOf': [{'$ref': '#/$defs/CommentPositionSnapshot'}, {'type': 'null'}]}, 'authorReputationTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'nextCursor': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverMarketCommentsResponse'}}, 'additionalProperties': False}
problee_list_markets
Paginated list of active markets
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. Examples: List live CRYPTO markets on Base
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$', 'description': 'Checksummed or lowercase 20-byte EVM address (0x + 40 hex).'}, 'MarketState': {'enum': ['open', 'closed', 'creator_proposal', 'challenge', 'human_voting', 'council_review', 'resolved', 'void'], 'type': 'string', 'description': 'Canonical market state shared by every protocol surface.'}}, 'properties': {'sort': {'enum': ['new', 'volume_24h', 'closing_soon', 'resolved_newest'], 'type': 'string', '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`.'}, 'cursor': {'type': 'string', 'description': 'Keyset cursor from a prior response nextCursor.'}, 'search': {'type': 'string', 'maxLength': 200, 'minLength': 2, 'description': 'Free-text search over the market question.'}, 'chainId': {'type': 'number'}, 'creator': {'$ref': '#/$defs/EvmAddress', 'description': 'Filter to markets whose on-chain creator wallet matches this address.'}, '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'}, 'pageSize': {'type': 'integer', 'default': 20, 'maximum': 100, 'minimum': 1}, 'marketState': {'$ref': '#/$defs/MarketState', 'description': 'Exact canonical market-state filter.'}, 'pricingModel': {'enum': ['automated', 'ORDERBOOK'], 'type': 'string', 'description': "Filter by pricing engine: 'ORDERBOOK' = central limit order book markets; 'automated' = automated-market-maker markets."}}}
Ausgabeschema
{'type': 'object', '$defs': {'WeiString': {'type': 'string', 'pattern': '^\\d+$'}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, '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}, 'ReputationTier': {'enum': ['banned', 'new', 'established', 'trusted', 'expert', 'legend'], 'type': 'string'}, 'MarketLifecycleStage': {'enum': ['open', 'closed', 'result_proposed', 'result_challenged', 'vote_open', 'vote_closed', 'under_review', 'resolved', 'voided'], 'type': 'string'}, 'DiscoverMarketsResponse': {'type': 'object', 'required': ['markets', 'hasMore', 'nextCursor'], 'properties': {'hasMore': {'type': 'boolean'}, 'markets': {'type': 'array', 'items': {'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'], 'properties': {'id': {'type': 'string'}, 'geo': {'anyOf': [{'type': 'object', 'required': ['scope', 'countryCode', 'place', 'lat', 'lon', 'derivation'], 'properties': {'lat': {'type': ['number', 'null']}, 'lon': {'type': ['number', 'null']}, 'place': {'type': ['string', 'null']}, 'scope': {'enum': ['city', 'region', 'country', 'global'], 'type': 'string'}, 'derivation': {'anyOf': [{'enum': ['explicit', 'entity_hq'], 'type': 'string'}, {'type': 'null'}]}, 'countryCode': {'type': ['string', 'null']}}, 'additionalProperties': False}, {'type': 'null'}]}, 'prices': {'type': 'object', 'properties': {'outcome1': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}, 'outcome2': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}, 'outcome3': {'anyOf': [{'type': 'number', 'maximum': 1, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'volume': {'$ref': '#/$defs/WeiString'}, 'actions': {'type': 'object', 'required': ['canCreatorResolve', 'canChallenge', 'canVote', 'canClaim'], 'properties': {'reason': {'$ref': '#/$defs/ErrorReason'}, 'canVote': {'type': 'boolean'}, 'canClaim': {'type': 'boolean'}, 'canChallenge': {'type': 'boolean'}, 'creatorAddress': {'$ref': '#/$defs/EvmAddress'}, 'canCreatorResolve': {'type': 'boolean'}}, 'additionalProperties': False}, 'address': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'outcome': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, '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}, 'finality': {'enum': ['pending', 'finalized'], 'type': 'string'}, 'language': {'type': ['string', 'null']}, 'openTime': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'outcomes': {'type': 'array', 'items': {'type': 'object', 'required': ['label', 'pricePercent'], 'properties': {'label': {'type': 'string'}, 'pricePercent': {'anyOf': [{'type': 'number', 'maximum': 100, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'maxItems': 3, 'minItems': 2}, 'question': {'type': 'string'}, 'volumePm': {'type': 'object', 'required': ['lifetimePm', 'last24hPm'], 'properties': {'last24hPm': {'type': 'string', 'pattern': '^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}, 'lifetimePm': {'type': 'string', 'pattern': '^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$'}}, 'additionalProperties': False}, 'closeTime': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'createdAt': {'type': 'string', '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)))$'}, 'createdBy': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}, 'humanVote': {'type': 'object', 'required': ['sessionId', 'windowStartsAt', 'deadlineImmutable', 'endsAt'], 'properties': {'endsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'sessionId': {'type': ['string', 'null']}, 'windowStartsAt': {'type': 'string', 'const': 'session_open'}, 'deadlineImmutable': {'type': 'boolean', 'const': True}}, 'additionalProperties': False}, 'isTernary': {'type': 'boolean'}, 'jurorTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}, 'volume24h': {'$ref': '#/$defs/WeiString'}, 'marketType': {'type': 'string'}, 'settlement': {'enum': ['onchain', 'committed'], 'type': 'string'}, 'challengeBy': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'creatorTier': {'anyOf': [{'$ref': '#/$defs/ReputationTier'}, {'type': 'null'}]}, 'marketState': {'enum': ['open', 'closed', 'creator_proposal', 'challenge', 'human_voting', 'council_review', 'resolved', 'void'], 'type': 'string'}, 'pricingModel': {'type': ['string', 'null']}, 'supportsVoid': {'type': 'boolean'}, 'stageDeadline': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'tradingEndsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'creatorAgentId': {'type': ['string', 'null']}, 'lifecycleStage': {'$ref': '#/$defs/MarketLifecycleStage'}, 'resolutionTime': {'type': 'string', '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)))$'}, 'collateralToken': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}, 'marketReference': {'type': 'string', 'pattern': '^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$'}, 'creatorResolveBy': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'resolutionSource': {'anyOf': [{'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, {'type': 'null'}]}, 'nextActionDeadline': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'resolutionCriteria': {'type': ['string', 'null']}, 'councilReviewEndsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}}, 'additionalProperties': False}}, 'nextCursor': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverMarketsResponse'}}, 'additionalProperties': False}
problee_list_pending_resolution_markets
Markets waiting for resolution
List markets in the canonical resolution pipeline. Optional category, marketState, cursor, and limit.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'Cursor': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'Opaque server-generated cursor; pass back verbatim on next page.'}, 'MarketState': {'enum': ['open', 'closed', 'creator_proposal', 'challenge', 'human_voting', 'council_review', 'resolved', 'void'], 'type': 'string', 'description': 'Canonical market state shared by every protocol surface.'}}, 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size (1–100). Defaults to 50.'}, 'cursor': {'$ref': '#/$defs/Cursor', 'description': 'Opaque pagination cursor from a prior response.'}, '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', 'description': 'Optional market category filter.'}, 'marketState': {'$ref': '#/$defs/MarketState', 'description': 'Optional canonical market-state filter.'}}}
Ausgabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'MarketLifecycleStage': {'enum': ['open', 'closed', 'result_proposed', 'result_challenged', 'vote_open', 'vote_closed', 'under_review', 'resolved', 'voided'], 'type': 'string'}, 'DiscoverPendingResolutionResponse': {'type': 'object', 'required': ['markets', 'nextCursor'], 'properties': {'markets': {'type': 'array', 'items': {'type': 'object', 'required': ['address', 'chainId', 'question', 'category', 'marketType', 'outcome1Label', 'outcome2Label', 'outcome3Label', 'closeTime', 'marketState', 'tradingEndsAt', 'lifecycleStage', 'stageDeadline', 'imageUrl', 'seed', 'createdAt', 'collateralToken', 'collateralDecimals', 'spec', 'resolutionCriteria'], 'properties': {'seed': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'null'}]}, 'spec': {'anyOf': [{}, {'type': 'null'}]}, 'address': {'$ref': '#/$defs/EvmAddress'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, '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}, 'imageUrl': {'type': ['string', 'null']}, 'question': {'type': 'string'}, 'closeTime': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'createdAt': {'type': 'string', '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)))$'}, 'marketType': {'type': 'string'}, 'settlement': {'enum': ['onchain', 'committed'], 'type': 'string'}, 'marketState': {'enum': ['open', 'closed', 'creator_proposal', 'challenge', 'human_voting', 'council_review', 'resolved', 'void'], 'type': 'string'}, 'outcome1Label': {'type': ['string', 'null']}, 'outcome2Label': {'type': ['string', 'null']}, 'outcome3Label': {'type': ['string', 'null']}, 'stageDeadline': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'tradingEndsAt': {'anyOf': [{'type': 'string', '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': 'null'}]}, 'lifecycleStage': {'$ref': '#/$defs/MarketLifecycleStage'}, 'collateralToken': {'anyOf': [{'$ref': '#/$defs/EvmAddress'}, {'type': 'null'}]}, 'collateralDecimals': {'anyOf': [{'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, {'type': 'null'}]}, 'resolutionCriteria': {'type': ['string', 'null']}}, 'additionalProperties': False}}, 'nextCursor': {'anyOf': [{'type': 'string', 'maxLength': 256, 'minLength': 1}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverPendingResolutionResponse'}}, 'additionalProperties': False}
problee_list_related_markets
Related markets in the same category and chain
List related markets in the same category and chain (canonical discovery set). Useful for context around a market before trading or creating.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', '$defs': {'ChainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991, 'description': 'Compiled protocol release chain ID (Base 8453).'}, 'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$', 'description': 'Checksummed or lowercase 20-byte EVM address (0x + 40 hex).'}}, 'required': ['address', 'chainId'], 'properties': {'limit': {'type': 'integer', 'maximum': 20, 'minimum': 1, 'description': 'Max related markets (1–20, default 4).'}, 'address': {'$ref': '#/$defs/EvmAddress', 'description': 'Anchor market contract address.'}, 'chainId': {'$ref': '#/$defs/ChainId', 'description': 'Chain id for the market address.'}}}
Ausgabeschema
{'type': 'object', '$defs': {'DiscoverRelatedMarketsResponse': {'type': 'object', 'required': ['related'], 'properties': {'related': {'type': 'array', 'items': {'type': 'object', 'required': ['market_id', 'chainId', 'address', 'question', 'category', 'marketType', 'imageUrl', 'resolutionTime', 'closeTime', 'outcome1Label', 'outcome2Label', 'outcome3Label', 'collateralSymbol', 'volume', 'prices'], 'properties': {'prices': {'anyOf': [{'type': 'object', 'required': ['outcome1', 'outcome2'], 'properties': {'outcome1': {'type': 'number'}, 'outcome2': {'type': 'number'}, 'outcome3': {'type': 'number'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'volume': {'type': 'string'}, 'address': {'type': ['string', 'null']}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, '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}, 'imageUrl': {'type': ['string', 'null']}, 'question': {'type': 'string'}, 'closeTime': {'type': ['string', 'null']}, 'market_id': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'marketType': {'type': 'string'}, 'settlement': {'enum': ['onchain', 'committed'], 'type': 'string'}, 'pricingModel': {'anyOf': [{'enum': ['automated', 'ORDERBOOK'], 'type': 'string'}, {'type': 'null'}]}, 'quoteSummary': {'anyOf': [{'type': 'object', 'required': ['observedAt', 'expiresAt', 'outcomes'], 'properties': {'outcomes': {'type': 'object', 'required': ['outcome1', 'outcome2'], 'properties': {'outcome1': {'type': 'object', 'required': ['bestBidBps', 'bestAskBps'], 'properties': {'bestAskBps': {'anyOf': [{'type': 'integer', 'maximum': 10000, 'minimum': 0}, {'type': 'null'}]}, 'bestBidBps': {'anyOf': [{'type': 'integer', 'maximum': 10000, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'outcome2': {'type': 'object', 'required': ['bestBidBps', 'bestAskBps'], 'properties': {'bestAskBps': {'anyOf': [{'type': 'integer', 'maximum': 10000, 'minimum': 0}, {'type': 'null'}]}, 'bestBidBps': {'anyOf': [{'type': 'integer', 'maximum': 10000, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}, 'outcome3': {'type': 'object', 'required': ['bestBidBps', 'bestAskBps'], 'properties': {'bestAskBps': {'anyOf': [{'type': 'integer', 'maximum': 10000, 'minimum': 0}, {'type': 'null'}]}, 'bestBidBps': {'anyOf': [{'type': 'integer', 'maximum': 10000, 'minimum': 0}, {'type': 'null'}]}}, 'additionalProperties': False}}, 'additionalProperties': False}, 'expiresAt': {'type': 'string', '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)))$'}, 'lastTrade': {'anyOf': [{'type': 'object', 'required': ['outcome', 'priceBps', 'tradedAt'], 'properties': {'outcome': {'anyOf': [{'type': 'number', 'const': 1}, {'type': 'number', 'const': 2}, {'type': 'number', 'const': 3}]}, 'priceBps': {'type': 'integer', 'maximum': 10000, 'minimum': 0}, 'tradedAt': {'type': 'string', '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)))$'}}, 'additionalProperties': False}, {'type': 'null'}]}, 'observedAt': {'type': 'string', '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)))$'}, 'initialReference': {'anyOf': [{'type': 'object', 'required': ['kind', 'pricesBps', 'source', 'observedAt'], 'properties': {'kind': {'enum': ['neutral', 'source'], 'type': 'string'}, 'source': {'type': 'string', 'minLength': 1}, 'pricesBps': {'type': 'object', 'required': ['outcome1', 'outcome2'], 'properties': {'outcome1': {'type': 'integer', 'maximum': 10000, 'minimum': 0}, 'outcome2': {'type': 'integer', 'maximum': 10000, 'minimum': 0}, 'outcome3': {'type': 'integer', 'maximum': 10000, 'minimum': 0}}, 'additionalProperties': False}, 'observedAt': {'type': 'string', '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)))$'}}, 'additionalProperties': False}, {'type': 'null'}]}}, 'additionalProperties': False}, {'type': 'null'}]}, 'outcome1Label': {'type': ['string', 'null']}, 'outcome2Label': {'type': ['string', 'null']}, 'outcome3Label': {'type': ['string', 'null']}, 'resolutionTime': {'type': ['string', 'null']}, 'collateralSymbol': {'type': 'string', 'minLength': 1}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/DiscoverRelatedMarketsResponse'}}, 'additionalProperties': False}
problee_list_trade_fills
List a wallet's trade fills, newest first (keyset cursor). Mined-tier fills lead; read `finality`.
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'required': ['walletAddress', 'chainId'], 'properties': {'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Page size (1–100, default 50).'}, 'cursor': {'type': 'string', 'description': 'Opaque cursor from a previous response.'}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'description': 'Active chain to query. Discover IDs via GET /discover/chains.', 'exclusiveMinimum': 0}, 'walletAddress': {'type': 'string', 'description': 'Wallet to list fills for (0x + 40 hex).'}}}
Ausgabeschema
{'type': 'object', '$defs': {'EvmAddress': {'type': 'string', 'pattern': '^0x[a-fA-F0-9]{40}$'}, 'RecordedOn': {'type': 'object', 'required': ['explorer'], 'properties': {'txUrl': {'type': 'string', 'format': 'uri'}, 'explorer': {'type': 'string', 'maxLength': 32, 'minLength': 1}, 'verifyUrl': {'type': 'string', 'format': 'uri'}, 'addressTransfersUrl': {'type': 'string', 'format': 'uri'}}, 'additionalProperties': False}, 'TradeFinality': {'enum': ['provisional', 'finalized'], 'type': 'string'}, 'OrderbookClOrdId': {'type': 'string', 'maxLength': 200}, 'TradeFillsResponse': {'type': 'object', 'required': ['fills', 'nextCursor', 'hasMore'], 'properties': {'fills': {'type': 'array', 'items': {'type': 'object', 'required': ['chainId', 'txHash', 'id', 'marketAddress', 'trader', 'side', 'outcomeIndex', 'direction', 'sharesDelta', 'collateralDelta', 'priceRaw', 'priceRawScale', 'priceDecimal', 'priceE18', 'timestamp'], 'properties': {'id': {'type': 'string'}, 'side': {'type': 'string'}, 'trader': {'$ref': '#/$defs/EvmAddress'}, 'txHash': {'type': ['string', 'null']}, 'chainId': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': -9007199254740991}, 'clOrdId': {'$ref': '#/$defs/OrderbookClOrdId'}, 'feePaid': {'type': ['string', 'null']}, 'finality': {'$ref': '#/$defs/TradeFinality'}, 'priceE18': {'type': 'string'}, 'priceRaw': {'type': 'string'}, 'direction': {'enum': ['buy', 'sell', 'redeem'], 'type': 'string'}, 'timestamp': {'anyOf': [{'type': 'string', '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'}]}, 'batchNonce': {'anyOf': [{'type': 'string', 'pattern': '^\\d+$'}, {'type': 'null'}]}, 'recordedOn': {'$ref': '#/$defs/RecordedOn'}, 'batchTxHash': {'type': ['string', 'null']}, 'explorerUrl': {'type': 'string', 'format': 'uri'}, 'sharesDelta': {'type': 'string'}, 'outcomeIndex': {'anyOf': [{'type': 'number', 'const': 0}, {'type': 'number', 'const': 1}, {'type': 'number', 'const': 2}]}, 'priceDecimal': {'type': 'string'}, 'liquidityRole': {'enum': ['maker', 'taker'], 'type': 'string'}, 'marketAddress': {'$ref': '#/$defs/EvmAddress'}, 'priceRawScale': {'enum': ['fixed_1e18', 'decimal_0_1'], 'type': 'string'}, 'settlementMode': {'enum': ['committed', 'onchain'], 'type': 'string'}, 'collateralDelta': {'type': 'string'}, 'executionStatus': {'type': 'string', 'const': 'executed'}, 'logicalTradeKey': {'type': 'string'}, 'settlementState': {'$ref': '#/$defs/FillSettlementState'}, 'principalReceipt': {'type': 'object', 'required': ['authority', 'movementKey', 'collateralDelta', 'feePaid', 'shareEntryKey', 'collateralEntryKey', 'feeEntryKey'], 'properties': {'feePaid': {'type': 'string', 'pattern': '^\\d+$', 'maxLength': 78}, 'authority': {'type': 'string', 'const': 'committed_ledger'}, 'feeEntryKey': {'anyOf': [{'type': 'string', 'maxLength': 512, 'minLength': 1}, {'type': 'null'}]}, 'movementKey': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'shareEntryKey': {'type': 'string', 'maxLength': 512, 'minLength': 1}, 'collateralDelta': {'type': 'string', 'pattern': '^-?\\d+$', 'maxLength': 80}, 'collateralEntryKey': {'anyOf': [{'type': 'string', 'maxLength': 512, 'minLength': 1}, {'type': 'null'}]}}, 'additionalProperties': False}, 'publicationState': {'enum': ['pending', 'published', 'finalized'], 'type': 'string'}}, 'additionalProperties': False}}, 'hasMore': {'type': 'boolean'}, 'nextCursor': {'type': ['string', 'null']}}, 'additionalProperties': False}, 'FillSettlementState': {'enum': ['pending', 'committed', 'finalized'], 'type': 'string'}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/TradeFillsResponse'}}, 'additionalProperties': False}
problee_list_webhook_event_types
List the event types agents can subscribe to, with payload hints
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.
Nur Lesen Externer Zugriff Idempotent
Eingabeschema
{'type': 'object', 'properties': {}}
Ausgabeschema
{'type': 'object', '$defs': {'WebhookEventCatalogResponse': {'type': 'object', 'required': ['events'], 'properties': {'events': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'description', 'payloadShape', 'walletFilterField', 'sourceRealtimeEvent', 'bridgedFromWebSocket'], 'properties': {'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'}, 'description': {'type': 'string'}, 'payloadShape': {'type': 'string'}, 'walletFilterField': {'anyOf': [{'enum': ['trader', 'walletAddress'], 'type': 'string'}, {'type': 'null'}]}, 'sourceRealtimeEvent': {'type': 'string'}, 'bridgedFromWebSocket': {'type': ['string', 'null']}}, 'additionalProperties': False}}}, 'additionalProperties': False}}, 'required': ['result'], 'properties': {'result': {'$ref': '#/$defs/WebhookEventCatalogResponse'}}, 'additionalProperties': False}
Hinzugefügt
problee_discover_webhooks
4. October 2026 02:40
Hinzugefügt
problee_list_webhook_event_types
4. October 2026 02:40
Hinzugefügt
problee_discover_events
4. October 2026 02:40
Hinzugefügt
problee_list_event_types
4. October 2026 02:40
Hinzugefügt
problee_get_balance
4. October 2026 02:40
Hinzugefügt
problee_get_positions
4. October 2026 02:40
Hinzugefügt
problee_list_trade_fills
4. October 2026 02:40
Hinzugefügt
problee_get_trade_status
4. October 2026 02:40
Hinzugefügt
problee_get_factory_config
4. October 2026 02:40
Hinzugefügt
problee_discover_market_data
4. October 2026 02:40
Hinzugefügt
problee_list_related_markets
4. October 2026 02:40
Hinzugefügt
problee_list_pending_resolution_markets
4. October 2026 02:40
Hinzugefügt
problee_get_market_resolution_state
4. October 2026 02:40
Hinzugefügt
problee_discover_resolution_sources
4. October 2026 02:40
Hinzugefügt
problee_get_market_holders
4. October 2026 02:40
Hinzugefügt
problee_get_market_trades
4. October 2026 02:40
Hinzugefügt
problee_get_market_chart
4. October 2026 02:40
Hinzugefügt
problee_get_market_depth
4. October 2026 02:40
Hinzugefügt
problee_list_market_comments
4. October 2026 02:40
Hinzugefügt
problee_get_market
4. October 2026 02:40
Hinzugefügt
problee_list_markets
4. October 2026 02:40
Hinzugefügt
problee_discover_renderers
4. October 2026 02:40
Hinzugefügt
problee_get_market_state
4. October 2026 02:40
Hinzugefügt
problee_list_leaderboard
4. October 2026 02:40
Hinzugefügt
problee_get_rules
4. October 2026 02:40
Hinzugefügt
problee_get_fees
4. October 2026 02:40
Hinzugefügt
problee_get_contracts
4. October 2026 02:40
Hinzugefügt
problee_list_collateral
4. October 2026 02:40
Hinzugefügt
problee_get_token_release
4. October 2026 02:40
Hinzugefügt
problee_list_chains
4. October 2026 02:40