{"uid":"cap_T8sZYGc79m24hFLQmC1W-","slug":"delx-base-block-time-estimate-20d817c3","name":"Delx Base Block Time Estimate","description":"Base Block Time Estimate: Base Block Time Estimate estimates block count from a caller-supplied duration and block-time assumption from bounded caller-supplied values without an external provider. Call Base Block Time Estimate 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 Block Time Estimate as versioned determi…","url":"https://api.delx.ai/api/v1/x402/base-block-time-estimate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"duration_seconds":{"type":"integer","description":"Duration Seconds supplied to Base Block Time Estimate; used only for this bounded calculation and processed in memory without retention."},"assumed_block_seconds":{"type":"number","description":"Assumed Block Seconds supplied to Base Block Time Estimate; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"estimated_blocks":60,"assumed_block_seconds":2},"schema":"delx/util-base-block-time-estimate/v1","status":"pass","evidence":{"retained":false,"input_sha256":"6c08b5fb6dac5adebbd5bd7d6a63cb3dbe181bd97604c3c6e3b1d4a9ea7e7615","external_calls":0},"operation":"evm_preflight:base_block_time_estimate"}},"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_RDhmk6V8V2Kvi0YWeOEM-","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":"Estimates the number of Base blockchain blocks that will be produced in a given duration, using a configurable assumed block time.","exampleAgentPrompt":"How many Base blockchain blocks will be produced in 120 seconds if we assume a block time of 2 seconds?","exampleUseCases":[{"title":"Smart contract timeout planning","prompt":"I'm writing a smart contract that needs to lock funds for 10 minutes — how many Base blocks should I use for the lock duration if blocks average 2 seconds each?"},{"title":"EVM preflight check for scheduled task","prompt":"I have a batch job that runs every 300 seconds on Base. Can you estimate how many blocks that window covers, assuming a 2-second block time?"},{"title":"Block window sizing for on-chain event","prompt":"We want to set a voting window of 1 hour on a Base chain governance contract — give me the estimated block count assuming the standard 2-second block time."}],"resultDescription":"Returns a JSON object with the estimated number of Base blockchain blocks for the given duration (estimated_blocks), the assumed block time used (assumed_block_seconds), a pass/fail status, operation identifier, and an evidence object confirming no data retention and no external calls were made during the computation.","failureModes":["Missing or invalid duration_seconds — returns a validation error","Non-numeric assumed_block_seconds — returns schema error","Zero or negative duration_seconds — may return zero blocks or an error","Network or service timeout — returns HTTP 5xx","Payment not included or insufficient — returns HTTP 402"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, in-memory calculation of how many Base blockchain blocks correspond to a given wall-clock duration — especially during EVM smart contract preflight planning, scheduling time-locked transactions, or sizing on-chain event windows. Prefer it over manual arithmetic when you want a verifiable, auditable result with no external data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:44.088Z","isFirstParty":false}