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. Use instead: base_tx for full EVM transaction details; sol_tx for full Solana transaction details. Example: ?tx=0x…&pay_to=0x…&amount=0.0045 (real Base payment) Price: $0.002 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
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": {
"tx": "<tx>",
"pay_to": "<pay_to>"
},
"name": "x402_verify"
}
}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) |