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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"payTo": "<payTo>",
"amount": "<amount>",
"asset": "<asset>",
"network": "<network>"
},
"name": "attest_guard"
}
}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). |