Phoenix Zero — Execution Oracle for L2s
v1.3.1Pre-transaction PASS/FAIL for an L2.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_safety_free
FREE safety check for an L2 before sending a transaction (100 calls/IP/day). Returns `safe` true/false plus a `reason` code (`safe` is null only with `warming_up`) for the chosen chain. The verdict is delayed ~60 s; the live verdict is the paid x402 endpoint GET /api/v1/safe (from $0.01 USDC).
| Parameter | Type | Description |
|---|---|---|
chain | string | L2 chain to check. Defaults to base. |
preflight_network_health
Decide whether an L2 is suitable for sending a transaction: PASS or FAIL with a reason code for the chosen chain, from Phoenix Zero measurements (each chain polled every ~2 s against 2-3 independent RPC nodes, Casper 10; feed records signed BLAKE3+Ed25519, responses signed EIP-191). The free answer is delayed ~60 s and checks chain halt, sequencer stall and latency only: it does not include revert ratio, so it never returns DEGRADED. The live verdict with revert ratio (Base/Arbitrum) and p99 latency is paid via x402 from $0.01 USDC (the 402 offers USDC on Base, Polygon or Arbitrum).
| Parameter | Type | Description |
|---|---|---|
chain | string | L2 chain to check. Defaults to base. |
metric | string | health_check = free delayed PASS/FAIL (no revert ratio). latency / revert_ratio = live values via paid x402 endpoints. revert_ratio: Base and Arbitrum only. |