{"uid":"cap_tk_bDZxSGNwae-kaGMR5f","slug":"delx-commerce-evm-confirmation-count-15fe87b3","name":"Delx Commerce EVM Confirmation Count","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/evm-confirmation-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"current_block":{"type":"integer","description":"Current Block supplied to EVM Confirmation Count; used only for this bounded calculation and processed in memory without retention."},"inclusion_block":{"type":"integer","description":"Inclusion Block supplied to EVM Confirmation Count; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"final":true,"confirmations":13,"required_confirmations":1},"schema":"delx/util-evm-confirmation-count/v1","status":"pass","evidence":{"retained":false,"input_sha256":"c64aaf04c19ec735e8d0e6149944a1c600034b3f834d1e7729e324ba8cf54b5f","external_calls":0},"operation":"evm_preflight:evm_confirmation_count"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4KYXGrqdo2p9wjXNI-QoY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the number of EVM block confirmations for a transaction given its inclusion block and current block, returning finality status.","exampleAgentPrompt":"My transaction was included at block 21500000 and the current block is 21500013 — how many confirmations does it have and is it considered final?","exampleUseCases":[{"title":"Pre-settlement finality check for DeFi","prompt":"Before releasing funds on my DeFi app, I need to know if the transaction included at block 21300000 has enough confirmations — the current block is 21300007. Is it final?"},{"title":"Exchange deposit confirmation gate","prompt":"A user deposited ETH and their transaction was included at block 21450000. The current block is 21450020. How many confirmations is that and should I credit their account?"},{"title":"Cross-chain bridge readiness check","prompt":"Our bridge is waiting to mint tokens on the destination chain. The lock transaction was included at block 21600100 and we're now at block 21600115. Is that confirmed enough to proceed?"}],"resultDescription":"Returns a JSON object with the number of confirmations (current_block minus inclusion_block), whether the transaction is considered final (boolean), the required number of confirmations, processing status (pass/fail), and an evidence object confirming no data was retained and no external calls were made — along with an input SHA-256 hash for auditability.","failureModes":["Missing required fields (current_block or inclusion_block not provided) — likely returns validation error","current_block less than inclusion_block — nonsensical input may return error or negative confirmation count","Non-integer values passed for block numbers — schema validation failure","Payment failure via x402 protocol — 402 response if USDC payment not completed"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call, verifiable computation of EVM confirmation depth without standing up your own node or indexer. Ideal for AI agents that need to gate downstream actions on transaction finality without retaining sensitive data. Prefer this over full node RPC calls when you only have block numbers and need a simple finality boolean with auditability proof.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:57.910Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-confirmation-count-15fe87b3"}