{"uid":"cap__WeFsQTFsjr_1mSYlVn4Q","slug":"delx-base-payment-deadline-check-dbaea9f7","name":"Delx Base Payment Deadline Check","description":"Base Payment Deadline Check: Base Payment Deadline Check checks a Base payment deadline against minimum and maximum lead time from bounded caller-supplied values without an external provider. Call Base Payment Deadline Check before signing, submitting, replacing, or accepting an EVM/Base transaction assembled from caller-owned data. Returns normalized transaction evidence, calculated budget or shape findings, and a fail-closed preflight status for Base Payment Deadline Check as versioned determ…","url":"https://api.delx.ai/api/v1/x402/base-payment-deadline-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"now_epoch":{"type":"integer","description":"Now Epoch supplied to Base Payment Deadline Check; used only for this bounded calculation and processed in memory without retention."},"deadline_epoch":{"type":"integer","description":"Deadline Epoch supplied to Base Payment Deadline Check; used only for this bounded calculation and processed in memory without retention."},"maximum_lead_seconds":{"type":"integer","description":"Maximum Lead Seconds supplied to Base Payment 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 Base Payment 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":3600,"minimum_lead_seconds":30},"schema":"delx/util-base-payment-deadline-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"59c678732bd73042e4f51cbf240f3f49ced22b5675207daf3f54360d261c4acb","external_calls":0},"operation":"evm_preflight:base_payment_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_jVhJjJRyyy67cSTUOSdi_","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 payment deadline epoch falls within an acceptable lead-time window relative to a given current epoch.","exampleAgentPrompt":"Before I submit this Base payment, check if the deadline is within the acceptable window — current time is epoch 1718000000, deadline is epoch 1718003600, with a minimum lead of 30 seconds and maximum lead of 3600 seconds.","exampleUseCases":[{"title":"EVM payment preflight validation","prompt":"I'm about to submit a payment on Base — can you check if the deadline epoch 1718010000 is valid given the current epoch is 1718009500, with a minimum lead time of 30 seconds and a maximum of 7200 seconds?"},{"title":"Reject stale or premature payment deadline","prompt":"Before executing this on-chain transaction, verify the deadline epoch 1718050000 against now at epoch 1718048000 — I need at least 60 seconds lead and no more than 1800 seconds."},{"title":"Agent batch payment timing guard","prompt":"My agent is processing a queue of Base payments — check if deadline epoch 1718100300 is within window right now at epoch 1718100000, with minimum lead 30 and maximum lead 900 seconds, so I know whether to proceed or reject."}],"resultDescription":"Returns a JSON object with the computed lead_seconds between now and the deadline, a within_window boolean indicating whether the lead time falls between minimum and maximum bounds, echoed maximum and minimum lead seconds, a pass/fail status, and an evidence block confirming no data retention and zero external calls.","failureModes":["Missing required fields (now_epoch, deadline_epoch) result in validation errors","Deadline epoch in the past yields negative lead_seconds and within_window false","Lead seconds outside min/max bounds returns within_window false with status fail","Non-integer epoch values may cause schema validation rejection"],"whenToPreferThis":"Use this endpoint when you need a lightweight, stateless, zero-retention preflight check on payment deadline timing for Base/EVM x402 payment workflows. Prefer this over custom logic when you need a governed, auditable check with sha256 input evidence and explicit within_window semantics, especially inside autonomous agent pipelines where verifiability matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:11:59.786Z","isFirstParty":false}