{"uid":"cap__00c_r_NQ8N9Mpyp72Ml8","slug":"delx-evm-block-age-check-440b1609","name":"Delx EVM Block Age Check","description":"EVM Block Age Check: EVM Block Age Check checks caller-supplied block timestamp age against a freshness budget from bounded caller-supplied values without an external provider. Call EVM Block Age 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 EVM Block Age Check as versioned deterministic JSON. Price: $0.001 USD…","url":"https://api.delx.ai/api/v1/x402/evm-block-age-check","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"now_epoch":{"type":"integer","description":"Now Epoch supplied to EVM Block Age Check; used only for this bounded calculation and processed in memory without retention."},"block_timestamp":{"type":"integer","description":"Block Timestamp supplied to EVM Block Age Check; used only for this bounded calculation and processed in memory without retention."},"maximum_age_seconds":{"type":"integer","description":"Maximum Age Seconds supplied to EVM Block Age Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"fresh":true,"age_seconds":60},"schema":"delx/util-evm-block-age-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"35299ebdd9f3624ff763f9691ae29cecba1e988b07fb01f7a1f8cc466fa8a964","external_calls":0},"operation":"evm_preflight:evm_block_age_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_eflmkNjEx5faXPxLii8Od","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 an EVM blockchain block is fresh by computing its age in seconds and comparing it against a maximum allowed age threshold.","exampleAgentPrompt":"Check whether this EVM block is still fresh — the block timestamp is 1718000000, the current time is 1718000060, and the maximum acceptable age is 120 seconds.","exampleUseCases":[{"title":"Pre-transaction block freshness gate","prompt":"Before I submit this EVM transaction, verify the block is fresh — block timestamp is 1717999800, current epoch is 1718000100, and I need the block to be no older than 300 seconds."},{"title":"Stale block detection in a monitoring agent","prompt":"I'm running an automated blockchain monitor — check if this block with timestamp 1717995000 is stale given the current time is 1718000000 and my staleness threshold is 60 seconds."},{"title":"DeFi preflight freshness validation","prompt":"Before my DeFi agent executes a price-sensitive swap, confirm the block isn't outdated: block timestamp 1718001500, now epoch 1718001560, maximum age allowed is 90 seconds."}],"resultDescription":"Returns a JSON object with a 'fresh' boolean, the computed 'age_seconds' integer, a 'status' field ('pass' or 'fail'), operation identifier, and an evidence object confirming no data was retained (includes input SHA-256 hash and zero external calls).","failureModes":["Missing required fields (now_epoch, block_timestamp, maximum_age_seconds) result in a validation error","block_timestamp greater than now_epoch may produce a negative age or unexpected behavior","Non-integer values for timestamp fields cause schema rejection","Payment failure or missing x402 authorization returns a 402 response"],"whenToPreferThis":"Use this endpoint when an AI agent needs a fast, auditable, in-memory computation to determine whether an EVM block's timestamp falls within an acceptable recency window — particularly for preflight checks before executing blockchain transactions or DeFi operations. Prefer it over writing custom logic when you need the result to include cryptographic evidence (input hash) that no data was retained externally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:45.104Z","isFirstParty":false}