{"uid":"cap_p6nqMaOFCNz-CcvH0PabX","slug":"receipt-lens-base-usdc-evidence-7bac1880","name":"Receipt Lens Base USDC Evidence","description":"Check one Base USDC receipt against an expected recipient and amount. Pay per report with x402.","url":"https://receipt-lens-8af7.beatrise-jansevska.chatgpt.site/v1/usdc-receipt?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["tx","recipient","amount"],"properties":{"tx":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Public Base transaction hash, including 0x."},"amount":{"type":"string","pattern":"^[1-9][0-9]{0,77}$","maxLength":78,"description":"Positive exact integer micro-USDC text, at most 2^256-1. One USDC is 1000000 micro-USDC."},"recipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Expected public recipient address, including 0x."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["status","chainId","asset","decimals","transactionHash","blockHash","blockNumber","observedHeadBlock","observedConfirmations","expectedRecipient","expectedAmountMicroUSDC","observedAmountToRecipientMicroUSDC","expectedPaymentObserved","transfers","fees","limitations","checkedAt","source","evidenceHashSHA256"],"properties":{"fees":{"type":"object","required":["gasUsed","effectiveGasPriceWei","executionFeeWei","l1FeeWei"],"properties":{"gasUsed":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Execution gas used. Exact non-negative base-10 integer string; parse with BigInt, not Number."},"l1FeeWei":{"anyOf":[{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Separately reported L1 fee, in wei. Exact non-negative base-10 integer string; parse with BigInt, not Number."},{"type":"null"}],"description":"Exact integer string when supplied by RPC, otherwise null. Never inferred."},"executionFeeWei":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Execution gas used times effective gas price, in wei. Exact non-negative base-10 integer string; parse with BigInt, not Number."},"effectiveGasPriceWei":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Effective execution gas price, in wei. Exact non-negative base-10 integer string; parse with BigInt, not Number."}},"additionalProperties":false},"asset":{"type":"string","const":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pattern":"^0x[0-9a-fA-F]{40}$"},"source":{"type":"string","format":"uri"},"status":{"enum":["transaction_failed","expected_payment_observed","recipient_amount_mismatch"],"type":"string"},"chainId":{"type":"string","const":"8453","description":"Base chain ID as an exact integer string."},"decimals":{"type":"integer","const":6,"description":"USDC decimal precision. This field is a JSON integer."},"blockHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"checkedAt":{"type":"string","format":"date-time"},"transfers":{"type":"array","items":{"type":"object","required":["from","to","amountMicroUSDC","logIndex"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"logIndex":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Transfer position in the transaction receipt. Exact non-negative base-10 integer string; parse with BigInt, not Number."},"amountMicroUSDC":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Transfer amount in micro-USDC. Exact non-negative base-10 integer string; parse with BigInt, not Number."}},"additionalProperties":false},"maxItems":500},"blockNumber":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Receipt block number. Exact non-negative base-10 integer string; parse with BigInt, not Number."},"limitations":{"type":"array","items":{"type":"string"}},"transactionHash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$"},"expectedRecipient":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"observedHeadBlock":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Head block seen by the same RPC observation. Exact non-negative base-10 integer string; parse with BigInt, not Number."},"evidenceHashSHA256":{"type":"string","pattern":"^[0-9a-f]{64}$"},"observedConfirmations":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Observed head minus receipt block plus one. Exact non-negative base-10 integer string; parse with BigInt, not Number."},"expectedAmountMicroUSDC":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Expected amount in micro-USDC. Exact non-negative base-10 integer string; parse with BigInt, not Number."},"expectedPaymentObserved":{"type":"boolean"},"observedAmountToRecipientMicroUSDC":{"type":"string","pattern":"^(0|[1-9][0-9]*)$","description":"Sum of matching native-USDC Transfer amounts to the expected recipient, in micro-USDC. Exact non-negative base-10 integer string; parse with BigInt, not Number."}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"fees":{"gasUsed":"92324","l1FeeWei":"3230288131","executionFeeWei":"646268000000","effectiveGasPriceWei":"7000000"},"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","source":"https://mainnet.base.org","status":"expected_payment_observed","chainId":"8453","decimals":6,"blockHash":"0xc3e07201702ef6d2446046eaf796b30c82499e121002b3ebced7ae7d0bb2e199","checkedAt":"2026-10-02T12:58:12.068Z","transfers":[{"to":"0xf200174de10c26ce7670aaf41d69a8979fe5629d","from":"0x6eb1e253886c70d238d931c4ad611723f3647dc3","logIndex":"902","amountMicroUSDC":"20000"}],"blockNumber":"52056892","limitations":["One public RPC observation, not independent validator verification or a finality guarantee.","Native USDC Transfer logs on Base only; does not prove human identity, intent, invoices, organic demand or ownership.","Recipient amounts aggregate all matching native-USDC Transfer logs in this transaction; no other tokens or ETH counted.","Execution fee and reported L1 fee are separate; no inferred complete fee total.","Failed transactions are never labeled completed payments."],"transactionHash":"0xfe0c6ac687c1741f617e58021aa6efc3b584aaae8536fef75a6de2f897d11ce1","expectedRecipient":"0xf200174de10c26ce7670aaf41d69a8979fe5629d","observedHeadBlock":"52078272","evidenceHashSHA256":"87ad8a953bb589576d3adeeef06f0d04062cd2641fb1595d0a6d576a61058fc8","observedConfirmations":"21381","expectedAmountMicroUSDC":"20000","expectedPaymentObserved":true,"observedAmountToRecipientMicroUSDC":"20000"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BAgpuHFeryrYlk0iL2b3t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies a Base blockchain USDC transaction against an expected recipient and amount, returning a signed evidence report","exampleAgentPrompt":"Can you check whether Base transaction 0xfe0c6ac687c1741f617e58021aa6efc3b584aaae8536fef75a6de2f897d11ce1 actually sent 20000 micro-USDC (that's $0.02) to wallet 0xf200174de10c26ce7670aaf41d69a8979fe5629d?","exampleUseCases":[{"title":"Confirm payment before releasing digital goods","prompt":"Before I unlock the download, check if Base tx 0xfe0c6ac687c1741f617e58021aa6efc3b584aaae8536fef75a6de2f897d11ce1 actually delivered exactly 1000000 micro-USDC to my wallet 0xf200174de10c26ce7670aaf41d69a8979fe5629d."},{"title":"Audit a vendor's USDC invoice payment","prompt":"I need to verify that our vendor got paid — can you pull the evidence report for Base transaction 0xabc123...def and confirm exactly 5000000 micro-USDC reached 0xf200174de10c26ce7670aaf41d69a8979fe5629d?"},{"title":"Automated agent payment self-verification","prompt":"My agent just made a USDC payment on Base with tx hash 0x1234...abcd — verify it went to 0xf200174de10c26ce7670aaf41d69a8979fe5629d for 50000 micro-USDC and give me the evidence hash so I can log it."}],"resultDescription":"Returns a JSON object with: payment status (e.g. 'expected_payment_observed'), chain ID, block number and hash, confirmation count, observed vs expected amounts in micro-USDC, all USDC Transfer log entries in the transaction, gas fees (execution and L1), a SHA-256 evidence hash for the report, and an array of limitations explaining what the verification does and does not prove.","failureModes":["Transaction hash not found on Base mainnet — returns error or status other than 'expected_payment_observed'","Recipient address mismatch — transfer logs don't include the expected recipient","Amount mismatch — observed amount to recipient differs from expected","Transaction failed on-chain — failed transactions are never labeled completed payments","RPC unavailability — single public RPC dependency may time out or return stale data","Invalid input format — tx hash, recipient, or amount not matching required regex patterns returns a validation error","Payment from ERC-20 token other than native USDC on Base — not counted"],"whenToPreferThis":"Choose this endpoint when you need a structured, auditable evidence report for a specific Base chain USDC payment — particularly for pay-per-use or x402-gated workflows where you need cryptographic confirmation (SHA-256 evidence hash) that a transfer reached the correct recipient for the correct amount. Prefer it over generic block explorers when you need machine-readable output with explicit status flags and limitations. Not suitable for ETH transfers, non-Base chains, or ERC-20 tokens other than native USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:34:46.158Z","isFirstParty":false,"canonicalSlug":"receipt-lens-base-usdc-evidence-7bac1880"}