Wallet statement
spend_auditUse when a buyer agent or its operator must account for an x402 wallet's spending: a statement for a buyer wallet on Base. Every USDC payment checked against the payee's listed Bazaar price (above listed, oversize 10x or more, unlisted), spend and calls per seller, duplicate payments within a minute, payments after a seller's listing vanished or its pay-to changed, sellers whose certification failed since, whether the wallet looks sweep-like, and a CSV of every payment. Free: no payment is asked.
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": {
"wallet": "<wallet>"
},
"name": "spend_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days to look back | |
| ticket | No | Optional: true to get a ticket instead of waiting. The run then has minutes instead of 85 s and waits for a busy slot; the paid answer is the ticket, and its result is free with the job_status tool. | |
| wallet | Yes | Buyer wallet address on Base |