OpenChainGraph Suite · ART-31 · Wave 6 · A2A x402-Extension Mandate Validator
v1.0.0

A2A x402-Extension Mandate Validator

Validate the A2A x402 capability extension — the Agent2Agent extension that carries crypto-payment authority inside an AP2 mandate (co-developed by Coinbase, MetaMask, and the Ethereum Foundation). Five deterministic checks: the x402 extension URI is declared in the agent card's capabilities.extensions[]; a non-empty payment-authority scope; a settlement-rail binding (scheme / network / asset); x402 exact-scheme PaymentPayload field lint; and mandate↔payment-leg consistency against an AP2 cap. One PASS/WARN/FAIL verdict and one OpenChainGraph execution_hash receipt. Client-side. Zero PII.

AP2 Export Chain Depth: 1 A2A · capabilities.extensions x402 · exact scheme PaymentPayload lint Zero PII settlement_mandate Simulation
EDUCATIONAL SIMULATION — This tool lints document structure against the publicly documented A2A capability-extension model and the x402 exact-scheme PaymentPayload shape. It does NOT verify signatures, settle funds, or constitute payment authorization. Validate against the live x402 spec (x402.org) and the A2A spec before any production use.
🔒 All validation runs entirely in your browser. Do not paste live wallet private keys, production signing keys, real customer PII, or live payment credentials. Use test / synthetic fixtures only. No data is transmitted, stored, or logged.
Stage 1 — A2A Agent Card (declares x402 capability extension)
A2A Agent Card JSON
JSON with capabilities.extensions[] declaring the x402 extension URI, a payment_authority scope, and a settlement-rail binding (scheme / network / asset).
Stage 2 — x402 Exact-Scheme PaymentPayload
x402 PaymentPayload (exact scheme)
Required: scheme, network, maxAmountRequired, resource, payTo, asset. Optional: maxTimeoutSeconds. Paste the output of ART-03 output_payload.x402_payload, or build manually.
Stage 3 — AP2 Mandate Cap (authority ceiling)
max_amount — mandate cap
asset — authorized asset

The PaymentPayload's maxAmountRequired must be ≤ this cap, and its asset must match (symbol or address; case-insensitive).

Parent ART-03 Artifact (optional — anchors chain_depth)
ART-03 x402 Settlement Modeler artifact JSON
Paste a full ART-03 OpenChainGraph artifact. Its execution_hash → chain.parent_hashes; chain_depth = parent chain_depth + 1. Leave blank to run standalone (chain_depth 0).
Verdict
Validation Checks
OpenChainGraph Artifact · execution_hash
SHA-256:

Computed client-side via WebCrypto SHA-256 over cgCanon({policy_parameters, output_payload}) (OpenChainGraph Standard v0.1 §6). Parent: none