{"uid":"cap_ZBIykWrfdCED6_AJkSTiU","slug":"bounty-engineer-treasury-court-on-chain-receipt-verification-2b5c154d","name":"Bounty Engineer Treasury Court – On-Chain Receipt Verification","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/treasury-court?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"policy":{"type":"object","properties":{"max_age_hours":{"type":"integer"},"min_confirmations":{"type":"integer"}}},"network":{"type":"string","const":"eip155:8453"},"receipts":{"type":"array","items":{"type":"object","required":["tx_hash","expected_pay_to","min_amount_usdc"],"properties":{"tx_hash":{"type":"string"},"invoice_ref":{"type":"string"},"expected_from":{"type":"string"},"expected_pay_to":{"type":"string"},"min_amount_usdc":{"type":"string"}}},"maxItems":8,"minItems":1}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"treasury_court_example","network":"eip155:8453","warning":"Mock shape only. Real paid execution checks independently fetched Base receipts before x402 settlement.","receipt_count":1,"illustrative_only":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"49.9","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":"$49.9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"49.9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"49.9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_p7Gbjr8PwrX3KpbFF6GxD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"49.9","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Verifies Base (EIP-155:8453) blockchain transaction receipts against expected payment parameters before x402 settlement for autonomous agent commerce.","exampleAgentPrompt":"Check the treasury court on Bounty Engineer to verify that Base transaction 0xabc123... was sent to my wallet 0xdef456..., paid at least 50 USDC, and has at least 2 confirmations within the last 24 hours.","exampleUseCases":[{"title":"Pre-settlement payment gating for agent APIs","prompt":"Before releasing the data feed to this agent, verify on Bounty Engineer's treasury court that transaction 0x9f3a...bb12 on Base actually sent at least 49.90 USDC to my wallet 0xC0ff...1234 and hit 3 confirmations in the last 12 hours."},{"title":"Batch receipt audit for multi-agent spend controls","prompt":"I need to audit 5 payment receipts from our agent fleet — check each tx hash against the expected pay-to address 0xDead...Beef on Base, requiring a minimum of 10 USDC each, max age 6 hours, and at least 1 confirmation."},{"title":"x402 invoice reconciliation before bounty payout","prompt":"Reconcile this invoice: confirm that tx 0x7e2f...4401 on the Base network paid at least 100 USDC to 0xAbCd...5678 within the last 48 hours before I release the GitHub bounty reward."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating verification success, the mode, network identifier, receipt count processed, and any warnings about mock vs. live execution. In production, independently fetches Base chain data and checks each receipt against expected sender, recipient, minimum USDC amount, age policy, and confirmation threshold before confirming x402 settlement.","failureModes":["Receipt tx_hash not found on Base — transaction may not be mined yet or hash is incorrect","Payment amount below min_amount_usdc threshold — returns ok: false","Transaction too old — exceeds max_age_hours policy","Insufficient confirmations — block confirmation count below min_confirmations","expected_pay_to address mismatch — funds sent to wrong wallet","Network mismatch — only eip155:8453 (Base) is accepted","Too many receipts — maxItems is 8 per call","Service unavailable on Render cold start — timeout or 502 error"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs to cryptographically confirm that a USDC payment on the Base network was actually received before proceeding with a paid action, especially in x402-gated commerce flows. Prefer it over generic blockchain explorers when you need policy-enforced validation (minimum amount, max age, confirmation count) in a single API call rather than manual on-chain lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:50:41.934Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-treasury-court-on-chain-receipt-verification-2b5c154d"}