Buy a Flash Report (paid, x402)
buy_flash_auditPaid over x402 in USDC on Base. Without a payment in _meta["x402/payment"] it returns the PaymentRequired document (isError), followed by how a person without a wallet can buy the same report in the web store. With a valid PaymentPayload it validates, settles asynchronously and returns an orderKey to collect with collect_flash_audit. If the payment is read but does not pass (wrong amount or recipient, insufficient balance, bad signature, expired or already-used authorization), it returns the PaymentRequired document again (isError) with the x402 errorReason in its "error" field; this call charges nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Report language. Defaults to "en". | |
| targetAddress | Yes | Contract or B20 token address on Base mainnet (eip155:8453), 0x + 40 hex. |