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"].
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. |