{
  "version": "1.1",
  "name": "Phoenix Zero \u2014 Cross-Chain Execution Oracle",
  "description": "Execution oracle for AI agents: answers 'is it safe to send NOW?' 12 L2 chains measured every 2 seconds. Signed evidence at kernel level (eBPF), network level (RPC latency), and execution level (revert ratio). Silicon DNA behavioral caller identity (agent/human/bot) from request-timing patterns.",
  "homepage": "https://rtt.phoenix-ai.work",
  "documentation": "https://rtt.phoenix-ai.work/docs",
  "contact": "aleksandrkent64@gmail.com",
  "payment": {
    "networks": [
      {
        "network": "eip155:8453",
        "chain": "Base",
        "asset": "USDC",
        "asset_address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
      },
      {
        "network": "eip155:137",
        "chain": "Polygon",
        "asset": "USDC",
        "asset_address": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
      },
      {
        "network": "eip155:42161",
        "chain": "Arbitrum One",
        "asset": "USDC",
        "asset_address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
      }
    ],
    "facilitator": "Coinbase CDP",
    "payTo": "0xbb967F16C7f3e9B4c1626680684445d41dBE44Ab",
    "price": "0.01",
    "currency": "USDC",
    "surge_pricing": {
      "normal": "0.01",
      "elevated": "0.03",
      "critical": "0.10"
    }
  },
  "sdk": {
    "npm": "phoenix-mcp-server",
    "github": "https://github.com/kant19801201behax5/SiliconDNA-PhoenixZero/tree/master/sdk",
    "integration": "2 lines of code \u2014 auto-pays x402 via EIP-712"
  },
  "capabilities": [
    "Binary pre-flight safety check (safe=true/false)",
    "12-chain sequencer health monitoring",
    "Silicon DNA behavioral caller identity verification (14 layers)",
    "eBPF XDP kernel-level threat filtering",
    "Cross-chain correlation matrix (R_xy) \u2014 exploratory, not yet validated for bot detection",
    "Request-timing entropy + Spearman correlation analysis",
    "Device-level physical signal verification",
    "x402 micropayments on Base, Polygon, Arbitrum One"
  ],
  "endpoints": [
    {
      "path": "/v1/safe",
      "method": "GET",
      "description": "THE KEY ENDPOINT. Binary safety check: safe=true (execute now) or safe=false (wait). Returned reason codes: ok, elevated_latency, high_latency, sequencer_stall, elevated_revert, high_revert, chain_halted, data_stale, no_data.",
      "price": "0.01",
      "currency": "USDC",
      "intent": [
        "is it safe to transact",
        "chain safety",
        "pre-flight check",
        "revert risk"
      ],
      "params": {
        "chain": "base|arbitrum|optimism|zksync|scroll|mantle|linea|blast|mode|taiko|polygon_zkevm|casper"
      }
    },
    {
      "path": "/v1/health",
      "method": "GET",
      "description": "Full 12-chain health report: P99 RTT, packet loss (rpc_loss_pct: RPC requests without a valid answer, last ~2 min), stall detection, chain head age, revert ratios, kernel-level TLS round-trip (kernel_tls_rtt, eBPF, last 60 s).",
      "price": "0.01",
      "currency": "USDC",
      "intent": [
        "network health",
        "sequencer status",
        "L2 monitoring"
      ]
    },
    {
      "path": "/v1/price",
      "method": "GET",
      "description": "FREE (no payment): Current surge pricing tier and gas pressure metrics.",
      "price": "0",
      "currency": "USDC",
      "intent": [
        "gas price",
        "surge pricing",
        "cost check"
      ]
    },
    {
      "path": "/v1/correlation",
      "method": "GET",
      "description": "Cross-chain Pearson correlation matrix (R_xy) with Frobenius anomaly score. Returns 12\u00d712 correlation matrix and synchronized pairs. Exploratory: not yet validated on real bot-cluster data.",
      "price": "0.01",
      "currency": "USDC",
      "intent": [
        "cross-chain correlation",
        "anomaly detection",
        "cascade risk",
        "systemic risk",
        "experimental"
      ]
    },
    {
      "path": "/v1/health-proof",
      "method": "GET",
      "description": "Verifiable health proof with HMAC-SHA256 commitment. Cryptographic attestation of network state.",
      "price": "0.01",
      "currency": "USDC",
      "intent": [
        "verifiable proof",
        "health attestation",
        "ZK-lite"
      ]
    },
    {
      "path": "/v1/demo/safe",
      "method": "GET",
      "description": "FREE demo: 100 calls/IP/day. Returns safe=true/false without detailed metrics. Try before you buy.",
      "price": "0",
      "currency": "USDC",
      "intent": [
        "free trial",
        "demo",
        "test"
      ]
    },
    {
      "path": "/v1/classify",
      "method": "POST",
      "description": "Caller identity classification: HUMAN / LEGIT_AGENT / MALICIOUS_BOT / SYBIL / UNKNOWN (no evidence either way). 14-layer behavioral analysis: entropy, jitter, Spearman correlation, automation detection, rhythm trust.",
      "price": "0.01",
      "currency": "USDC"
    },
    {
      "path": "/v1/preflight",
      "method": "POST",
      "description": "Full pre-flight check with extended metrics: RTT percentiles, revert data, gas pressure.",
      "price": "0.01",
      "currency": "USDC"
    },
    {
      "path": "/v1/classify",
      "method": "GET",
      "description": "Same as POST /v1/classify; parameters in the query string (?target=). A GET without payment returns 402 with the price.",
      "price": "0.01",
      "currency": "USDC"
    },
    {
      "path": "/v1/preflight",
      "method": "GET",
      "description": "Same as POST /v1/preflight; parameters in the query string (?chain=base). A GET without payment returns 402 with the price.",
      "price": "0.01",
      "currency": "USDC"
    },
    {
      "path": "/v1/chains/:chain",
      "method": "GET",
      "description": "Per-chain detailed status: P99/P95 RTT, block propagation, sequencer latency.",
      "price": "0.01",
      "currency": "USDC"
    }
  ],
  "chains_monitored": [
    "base",
    "arbitrum",
    "optimism",
    "zksync",
    "scroll",
    "mantle",
    "linea",
    "blast",
    "mode",
    "taiko",
    "polygon_zkevm",
    "casper"
  ],
  "identity": {
    "method": "Silicon DNA 14-layer behavioral classification",
    "paper": "https://doi.org/10.5281/zenodo.22239862",
    "layers": [
      "L0 PQC session (ML-KEM-768)",
      "L1 Browser/GPU user-agent consistency",
      "L2 Header forgery score (Frankenstein)",
      "L3 Request-timing Spearman rho",
      "L4 Request-timing variance (CV)",
      "L5 Argon2id proof-of-work",
      "L6 Request-timing Shannon entropy",
      "L7 Timing verdict (human/agent-like)",
      "L8 TLS fingerprint risk (needs a TLS front; inactive behind Cloudflare)",
      "L9 Request rate (last 60 s)",
      "L10 Sybil cohort flag",
      "L11 Header richness",
      "L12 Edge geo header present",
      "L13 Session continuity"
    ],
    "enforcement": "eBPF XDP (kernel-level drop) + LSM (syscall sandbox), x402 rate limiting per wallet"
  },
  "security": {
    "response_signing": {
      "algorithm": "secp256k1-personal_sign(sha256(response_json))",
      "public_key_endpoint": "/v1/signing-key"
    },
    "security_txt": "/.well-known/security.txt",
    "ebpf_isolation": "Kernel-level data isolation. No packet payloads or PII leave kernel."
  }
}