{"uid":"cap_chATv9xP4j1xwCosWkns9","slug":"delx-commerce-evm-block-age-check-891f4ff4","name":"Delx Commerce — EVM Block Age 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-block-age-check?utm_source=zero.xyz","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_waomNjT4XUKU6QQzovX8F","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 an EVM block timestamp is within a specified maximum age threshold, returning freshness status and age in seconds.","exampleAgentPrompt":"Check whether an EVM block with timestamp 1717200000 is still fresh right now (current time 1717200060), with a maximum allowed age of 300 seconds.","exampleUseCases":[{"title":"DeFi transaction preflight freshness gate","prompt":"Before I submit this swap, check if the block with timestamp 1717200000 is still fresh — current time is 1717200060 and I need it to be no older than 120 seconds."},{"title":"Smart contract block recency guard","prompt":"I'm about to call a smart contract that requires a recent block. Verify that the block timestamped 1717195000 is within 600 seconds of now (epoch 1717195500)."},{"title":"On-chain oracle data staleness check","prompt":"Can you confirm whether the oracle block from timestamp 1717190000 is still valid given the current time is 1717190400 and my maximum tolerated age is 300 seconds?"}],"resultDescription":"Returns a JSON object indicating whether the block is fresh (boolean), the computed age in seconds, a pass/fail status, and a verifiable evidence object 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, block_timestamp, maximum_age_seconds) result in a validation error","block_timestamp in the future relative to now_epoch may produce unexpected or negative age values","Non-integer epoch values cause schema rejection","Payment failure via x402 protocol blocks request execution"],"whenToPreferThis":"Use this endpoint when you need a verifiable, pay-per-call, tamper-evident check of EVM block freshness before executing on-chain operations — especially when auditability (via input hash and no-retention guarantee) matters more than running the calculation locally.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:31:30.124Z","isFirstParty":false,"canonicalSlug":"delx-commerce-evm-block-age-check-891f4ff4"}