onyx_x402_receipt_verify
Verify an x402 USDC settlement on Base or Base Sepolia. Given a tx hash, decodes the USDC Transfer log and confirms (or refutes) a claim of the form: 'tx X moved $Y USDC from A to B'. Returns success status, actual decoded values, and a clear discrepancy report if any field doesn't match. Free tier — useful for agents reconciling spend and operators auditing inbound payments. (price: $0 USDC, tier: free)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Chain to query. Must match where the tx was mined. | base |
| tx_hash | Yes | 0x-prefixed 32-byte tx hash to verify. | |
| expected_to | No | Optional. Expected recipient address (0x...). If provided, verifier checks Transfer.to matches. | |
| expected_from | No | Optional. Expected sender address (0x...). If provided, verifier checks Transfer.from matches. | |
| expected_amount_usdc | No | Optional. Expected USDC amount (whole USDC, not atomic). If provided, verifier checks Transfer.value matches (within 0.000001 tolerance). |