{"uid":"cap_lEfgfwWkH43PPTTlSiPSw","slug":"delx-commerce-evm-deadline-check-558ecfe7","name":"Delx Commerce — EVM Deadline 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-deadline-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"now_epoch":{"type":"integer","description":"Now Epoch supplied to EVM Deadline Check; used only for this bounded calculation and processed in memory without retention."},"deadline_epoch":{"type":"integer","description":"Deadline Epoch supplied to EVM Deadline Check; used only for this bounded calculation and processed in memory without retention."},"minimum_lead_seconds":{"type":"integer","description":"Minimum Lead Seconds supplied to EVM Deadline Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"lead_seconds":300,"within_window":true,"maximum_lead_seconds":9223372036854776000,"minimum_lead_seconds":60},"schema":"delx/util-evm-deadline-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"6837bc595d9c82af4770ef6b89ff2cab040826dc0d84c5e6251a7516cefbedb6","external_calls":0},"operation":"evm_preflight:evm_deadline_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_QqLIl8BoH9-RaM_MmvzrU","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":"Validates whether a given Unix epoch timestamp meets a minimum lead-time window before a deadline, used for EVM transaction preflight checks.","exampleAgentPrompt":"Check if current time 1718000000 gives enough lead time before EVM deadline 1718000600, with a minimum lead of 60 seconds.","exampleUseCases":[{"title":"DeFi swap preflight timing check","prompt":"Before I submit this on-chain swap, check if current epoch 1718001000 has at least 120 seconds of lead time before the transaction deadline at epoch 1718001500."},{"title":"Smart contract execution window validation","prompt":"I need to verify that right now (epoch 1718100000) is within the valid execution window for a contract deadline at epoch 1718100900, requiring at least 60 seconds of lead time."},{"title":"Agent transaction scheduler safety check","prompt":"My agent is about to send an EVM transaction — can you confirm that the current epoch 1718200000 satisfies the 300-second minimum lead before the deadline epoch 1718200600?"}],"resultDescription":"Returns a JSON object with the computed lead_seconds between now and the deadline, a within_window boolean indicating whether the minimum lead time is satisfied, the minimum and maximum lead seconds bounds, a pass/fail status, the operation name, and a verifiable evidence block including an input SHA-256 hash and confirmation that no data was retained and no external calls were made.","failureModes":["Missing required fields (now_epoch, deadline_epoch, minimum_lead_seconds) result in validation error","Deadline already passed (deadline_epoch < now_epoch) may return within_window: false","Payment not provided or insufficient USDC results in HTTP 402 rejection","Integer overflow for extremely large epoch values","Malformed request body returns HTTP 400"],"whenToPreferThis":"Use this endpoint when an AI agent or automated system needs a verifiable, tamper-evident preflight check that a given deadline epoch has sufficient lead time before initiating an EVM blockchain transaction. Prefer it over client-side arithmetic when you need a cryptographic evidence hash (SHA-256 of inputs) and a structured pass/fail result for auditability, particularly in DeFi or smart contract orchestration workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:35.427Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-deadline-check-558ecfe7"}