# StealthMark Prediction Arbitrage Safety Verifier

> StealthMark Prediction Arbitrage Safety Verifier is a paid API for AI agents from gateway.stealthmark.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-20).

Verifies whether a given prediction market spread is safe from arbitrage traps using Z3 formal proofs and UMA oracle attestations on Base Mainnet

## Facts

- Endpoint: POST https://gateway.stealthmark.io/x402/verify-prediction-arbitrage?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stealthmark-prediction-arbitrage-safety-verifier-7fa4a259
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rf7mxzs33TeK8JxYEz5Jl

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stealthmark-prediction-arbitrage-safety-verifier-7fa4a259 -d '<json body>'
```

Example prompt: Check whether a 2% observed spread on the FED_DEC_RATE_CUT prediction market pair is safe from arbitrage traps — I need to know if there's a divergence trap risk and get the formal attestation digest back.

## When to prefer this

Use this endpoint when you need a formally verified, oracle-attested safety check on a prediction market spread before executing or recommending a trade. It is specifically suited for Base Mainnet prediction markets (e.g. Polymarket baskets, Fed rate decision markets) where divergence trap risk and Z3-based invariant proof are required. Prefer it over generic spread calculators when you need a cryptographic attestation digest and UMA oracle backing for auditability.

## Known failure modes

- Invalid pair_key returns an error or null result — only recognized pair keys are supported
- Observed spread percentage outside expected numeric range may produce unexpected threshold comparisons
- Network or oracle unavailability on Base Mainnet may cause attestation failures
- Malformed request body (missing required fields) returns a validation error
- High-latency UMA oracle queries may time out under load

## How this service works

Autonomous Z3 Formal Invariant Prover (ERC-4626 Vaults, Polymarket Baskets, ZK Circuits, Differential Consensus) &amp; 100-Point Perimeter Security Gateway on Base Mainnet (x402 v2).

## Output

Returns a JSON object indicating whether the observed spread is arbitrage-safe (boolean), whether a divergence trap risk exists (boolean), the formal spread threshold percentage, a UMA oracle address used for the attestation, a cryptographic attestation digest, and a human-readable message summarizing the result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pair_key": {
   "type": "string",
   "default": "FED_DEC_RATE_CUT"
  },
  "observed_spread_pct": {
   "type": "number",
   "default": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "message": {
   "type": "string"
  },
  "request_digest": {
   "type": "string",
   "description": "SHA-256 of fields in this response; unsigned, not an attestation"
  },
  "is_arbitrage_safe": {
   "type": "boolean"
  },
  "uma_oracle_address": {
   "type": "string"
  },
  "divergence_trap_risk": {
   "type": "boolean"
  },
  "spread_threshold_pct": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stealthmark-prediction-arbitrage-safety-verifier-7fa4a259/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.stealthmark.io](https://www.zero.xyz/host/gateway.stealthmark.io/llms.txt)
