x402 payment verify: did this transaction really pay USDC to this address?
x402_verifyUse when an agent or seller must confirm a payment before delivering: checks a Base, Base Sepolia or Solana transaction for a USDC transfer to pay_to of at least amount. Input: tx (hash or signature), pay_to, network (default eip155:8453), optional amount in USDC. Output: JSON paid true/false, verdict, received, payers, block, time, confirmations. Bad formats refused before payment. Example: ?tx=0x…&pay_to=0x…&amount=0.01 Price: $0.002 USDC (Base or Solana) via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tx | Yes | Transaction hash (0x…, Base) or signature (base58, Solana) | |
| amount | No | Expected minimum USDC amount, e.g. 0.01 | |
| pay_to | Yes | Receiving address (0x… on Base, base58 owner address on Solana) | |
| network | No | CAIP-2 network (default eip155:8453 = Base) |