← Back to directory

Normalize and audit an x402 402-payment envelope before an agent spends. Accepts...

https://agentic.clawbots.org/api/agentic/tools/x402-envelope-auditor

Overview

Normalize and audit an x402 402-payment envelope before an agent spends. Accepts a raw response body, a JSON envelope, or x402 payment headers and returns requirement count, networks, schemes, payTo recipients, USDC price bounds, the cheapest compatible Base-USDC requirement, a deterministic allow/review/deny decision, facilitator hints, and fail-closed warnings for malformed or non-Base quotes. $0.01/call.

Protocol x402 (POST)
Price $0.01
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider x402-envelope-auditor
Source bazaar
Indexed 2026-11-14 19:57:29

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "envelope": { "accepts": [ { "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "maxAmountRequired": "10000", "network": "eip155:8453", "payTo": "0xef2cc7d15d3421629f93ffa39727f14179f31c75", "scheme": "exact" } ], "x402Version": 2 }, "maxUsdc": 0.05 }, "bodyType": "json", "inputSchema": { "additionalProperties": false, "properties": { "envelope": { "description": "Raw x402 response body or JSON object containing accepts/paymentRequirements/requirements.", "type": [ "object", "string" ] }, "expectedAsset": { "default": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "description": "Expected USDC asset address on Base.", "type": "string" }, "expectedNetwork": { "default": "eip155:8453", "description": "Expected payment network. Defaults to Base mainnet CAIP-2.", "type": "string" }, "headers": { "description": "Optional response headers. Header values may include payment-required JSON or base64 encoded JSON.", "type": "object" }, "maxUsdc": { "description": "Optional caller budget in USDC. Emits a warning when the cheapest requirement exceeds it.", "minimum": 0, "type": "number" } }, "required": [ "envelope" ], "type": "object" }, "method": "POST", "type": "http" }

Output Schema

{ "example": { "baseCompatible": true, "cheapestCompatible": { "maxAmountRequired": "10000", "network": "eip155:8453", "scheme": "exact", "usdc": 0.01 }, "cheapestUsdc": 0.01, "decision": "allow", "evidence": { "headerNames": [], "parsedJson": true, "sources": [ "envelope.accepts" ] }, "mostExpensiveUsdc": 0.01, "networks": [ "eip155:8453" ], "ok": true, "payTo": [ "0xef2cc7d15d3421629f93ffa39727f14179f31c75" ], "requirementCount": 1, "requirements": [ { "maxAmountRequired": "10000", "network": "eip155:8453", "scheme": "exact", "usdc": 0.01 } ], "schemes": [ "exact" ], "warnings": [], "withinBudget": true }, "type": "json" }