attest_guard
Verify a live 402 payment offer at the moment of spend. Pass the EXACT offer you just received (url, payTo, amount, asset, network) and get an allow / warn / block verdict with machine-readable reasons: wallet mismatch vs the verified payout wallet, price swaps vs the last verified quote, danger flags, blocklisted wallets, and typosquats. Call this AFTER receiving a 402 offer and BEFORE authorizing the payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The endpoint URL you are about to pay. | |
| asset | Yes | Asset contract address or symbol from the offer. | |
| payTo | Yes | The payout address presented in the live 402 offer. | |
| amount | Yes | The offered amount in atomic units, as a string. | |
| scheme | No | Optional payment scheme (e.g. exact). | |
| network | Yes | Network / chain identifier from the offer (e.g. base, solana). |