{"uid":"cap_9Vk4AxYp7_DFgFs1lt0Hh","slug":"delx-commerce-evm-nonce-gap-check-3da77911","name":"Delx Commerce — EVM Nonce Gap Check","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-nonce-gap-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maximum_gap":{"type":"integer","description":"Maximum Gap supplied to EVM Nonce Gap Check; used only for this bounded calculation and processed in memory without retention."},"pending_nonce":{"type":"integer","description":"Pending Nonce supplied to EVM Nonce Gap Check; used only for this bounded calculation and processed in memory without retention."},"proposed_nonce":{"type":"integer","description":"Proposed Nonce supplied to EVM Nonce Gap Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"gap":2,"within_budget":false,"possible_replacement":false},"schema":"delx/util-evm-nonce-gap-check/v1","status":"advisory","evidence":{"retained":false,"input_sha256":"b9889d09b1009c8b22542a020475a3b907ede762b24f2fafec69d286c024edfd","external_calls":0},"operation":"evm_preflight:evm_nonce_gap_check"}},"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_bumPypE8habwZx2_PzI3v","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":"Checks whether the gap between a pending nonce and a proposed nonce on an EVM chain is within an acceptable maximum, and whether a nonce replacement is possible.","exampleAgentPrompt":"Before I broadcast this Ethereum transaction, check if the nonce gap is safe — my pending nonce is 42, the proposed nonce is 44, and my maximum allowed gap is 1.","exampleUseCases":[{"title":"Preflight nonce check before broadcast","prompt":"I'm about to send an EVM transaction — my pending nonce is 10, my proposed nonce is 13, and I want to allow a maximum gap of 2. Can you check if that gap is within budget and whether a replacement is possible?"},{"title":"Detect nonce gap before a DeFi swap","prompt":"I'm executing a DeFi swap and want to make sure my nonce won't create a stuck transaction — pending nonce is 5, proposed nonce is 6, max gap allowed is 1. Run a nonce gap check for me."},{"title":"Agent transaction sequencing validation","prompt":"My autonomous agent is queuing transactions and needs to verify nonce ordering — pending nonce is 100, proposed nonce is 103, maximum gap is 2. Is this within safe limits and is replacement possible?"}],"resultDescription":"Returns the computed nonce gap size, a boolean indicating whether the gap is within the specified maximum budget, and a boolean indicating whether a nonce replacement is possible. Also includes metadata confirming no data was retained and no external calls were made.","failureModes":["Missing or invalid integer inputs may result in computation errors","Gap check returning within_budget:false when gap exceeds maximum_gap parameter","possible_replacement:false when nonce gap disqualifies replacement","Network or payment failure via x402 protocol preventing the call from completing"],"whenToPreferThis":"Use this endpoint when an AI agent or automated system needs to validate EVM transaction nonce sequencing before broadcasting, particularly to avoid stuck or dropped transactions caused by nonce gaps. Ideal for preflight checks in agent-driven transaction pipelines where nonce ordering is critical. Prefer this over manual calculation when you need a verifiable, privacy-preserving, pay-per-use check with no signup or state retention.","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-nonce-gap-check-3da77911"}