{
  "x402Version": 2,
  "id": 2464,
  "slug": "2464",
  "resource": "https://www.tereno.xyz/api/v1/capabilities/prediction.evidence/invoke",
  "description": "Returns current, sourced and machine-readable evidence supporting or contradicting a prediction-market proposition before placing trades. Verifies onchain state, resolution rules, and primary provenance with deterministic receipts.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xfbF218ACCBb0D57fc4E8fc3E2A885C910c4C9e94",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "market": "polymarket",
            "question": "Will Ethereum Pectra upgrade activate on mainnet before Q4 2026?"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "capabilityId": "prediction.evidence",
            "capabilityVersion": "1.0.0",
            "invocationId": "uuid",
            "pricing": {
              "currency": "USDC",
              "pricePaidUsd": 0.05
            },
            "receiptUrl": "/api/v1/receipts/uuid",
            "result": {
              "agentNote": "This prediction evidence artifact is deterministically hashed and cached.",
              "contradictions": [],
              "evidence": [
                {
                  "claim": "Ethereum Execution Specs and Consensus Specs schedule Pectra upgrade.",
                  "confidence": 0.95,
                  "direction": "supports",
                  "observedAt": "2026-09-18T10:00:00.000Z",
                  "source": "Ethereum Foundation EIP Repository & Execution-Specs GitHub",
                  "sourceUrl": "https://github.com/ethereum/execution-specs",
                  "verificationType": "primary_doc"
                }
              ],
              "executionCostUsd": 0.003,
              "limitations": [
                "Provides machine-readable verifiable evidence with provenance. Does not place bets or give financial advice."
              ],
              "market": "polymarket",
              "observedAt": "2026-09-18T10:00:00.000Z",
              "question": "Will Ethereum Pectra upgrade activate on mainnet before Q4 2026?",
              "receipt": {
                "capabilityVersion": "1.0.0",
                "createdAt": "2026-09-18T10:00:00.000Z",
                "evidenceDigest": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
                "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
                "id": "rcpt_pe_1234567890abcdef",
                "observedAt": "2026-09-18T10:00:00.000Z",
                "question": "Will Ethereum Pectra upgrade activate on mainnet before Q4 2026?"
              },
              "summary": "Audited proposition. Gathered sourced evidence with verifiable provenance.",
              "verdict": "allow"
            },
            "verdict": "allow"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "context": {
                    "description": "Optional contextual metadata from the agent.",
                    "type": "object"
                  },
                  "market": {
                    "description": "Market platform identifier (e.g. 'polymarket', 'omen', 'kalshi'). Defaults to 'polymarket'.",
                    "type": "string"
                  },
                  "marketUrl": {
                    "description": "Optional URL to the market page for resolution rules extraction.",
                    "format": "uri",
                    "type": "string"
                  },
                  "question": {
                    "description": "Prediction market question or proposition to audit with verifiable evidence.",
                    "maxLength": 2000,
                    "minLength": 5,
                    "type": "string"
                  }
                },
                "required": [
                  "question"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_8kag0yoi"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "www.tereno.xyz",
  "lastUpdated": "2026-09-18T12:40:27.415Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-18T12:40:27.178Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.tereno.xyz",
    "manifest_name": "www.tereno.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}