Verify an on-chain payment (tx confirmation)
verify_crypto_paymentVerify a crypto payment / transaction confirmation: given a tx hash on Base, Polygon, Arbitrum, Optimism or Ethereum returns status, confirmations, native value and decoded USDC transfers; with to and min_usdc it answers whether the recipient received at least that amount. $0.01 USDC on Base via x402. Price: $0.01. First call returns the x402 PaymentRequired (no charge); retry with payment in _meta["x402/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": {
"tx": "<tx>"
},
"name": "verify_crypto_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| tx | Yes | ||
| chain | No | base | |
| min_usdc | No | ||
| x402_payment | No | Optional. Base64 x402 v2 PaymentPayload, for clients that cannot set params._meta["x402/payment"]. Omit on the first call to get the exact price. |