{"name":"onyx_x402_receipt_verify","tier":"free","price_usdc":"0","endpoint":"https://onyx-actions.onrender.com/v1/onyx_x402_receipt_verify","method":"POST","input_schema":{"type":"object","properties":{"tx_hash":{"type":"string","description":"0x-prefixed 32-byte tx hash to verify."},"network":{"type":"string","enum":["base","base-sepolia"],"default":"base","description":"Chain to query. Must match where the tx was mined."},"expected_from":{"type":"string","description":"Optional. Expected sender address (0x...). If provided, verifier checks Transfer.from matches."},"expected_to":{"type":"string","description":"Optional. Expected recipient address (0x...). If provided, verifier checks Transfer.to matches."},"expected_amount_usdc":{"type":"number","description":"Optional. Expected USDC amount (whole USDC, not atomic). If provided, verifier checks Transfer.value matches (within 0.000001 tolerance)."}},"required":["tx_hash"]},"description":"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.","when_to_use":"An agent or operator wants to confirm a tx hash represents a real x402 USDC settlement with specific from/to/amount. Use for reconciling spend, auditing inbound payments, fraud prevention, or proving completion.","vs_alternatives":"Block explorers show tx data but require manual interpretation. Etherscan API requires keys + parsing. This tool returns a single yes/no verified boolean plus structured discrepancies — one call, no manual decoding.","example_request":{"tx_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","network":"base","expected_to":"0xA60939FFf9c04a61c0c0649943675e16A12D7074","expected_amount_usdc":0.1},"example_response":{"ok":true,"verified":true,"tx_hash":"0x...","primary_transfer":{"from":"0x...","to":"0xA609...","amount_usdc":0.1},"discrepancies":[],"summary":"PASS: tx 0xaaaaaaaaaaaa... moved 0.1 USDC from 0x... to 0xA609... on base."},"settle_to":"0x3fD9ee1373562f894D322B37DFFAd7a5D2b2d78f","network":"base","facilitator":"https://facilitator.xpay.sh","payment_required":false,"free_introspection":true,"note":"GET this URL = free introspection card. POST with x402 payment header to call."}