USDC payment check on Base (paid, x402)
check_usdc_paymentReads a Base transaction and says whether it paid the USDC claimed: to whom, from whom, how much, and how many blocks ago. Use it when someone says they paid you, before you deliver. Give the transaction hash and, optionally, the recipient, sender, minimum amount and confirmations you expect; returns whether that USDC really moved. Paid per call: 0.10 USDC on Base over x402, no Agoreum account. Call it without payment to get the terms (an isError result holding the x402 PaymentRequired object), then call again with the signed payment in _meta["x402/payment"]; the settlement comes back in _meta["x402/payment-response"]. Nothing is charged if the check fails or the payment does not settle. list_agoreum_tools lists all six with examples.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional: the address that should have received the USDC. | |
| from | No | Optional: the address that should have paid. | |
| tx_hash | Yes | The transaction hash on Base to check. | |
| min_amount_usdc | No | Optional: the least USDC that must have reached the payee, as a decimal string such as 0.50. | |
| min_confirmations | No | Optional: how many blocks must have followed the transaction. |