{"uid":"cap_TbFdX6CqB7yGd9shXOP-6","slug":"nojunk-chain-block-lookup-77f1d70b","name":"NoJunk Chain Block Lookup","description":"Blockchain Data block: Block by number, hash or latest -> number, hash, timestamp, tx count, gas used/limit, base fee, miner (EVM); Bitcoin block header; Solana slot summary.","url":"https://nojunk-chain.mick8511.workers.dev/block?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["chain"],"properties":{"hash":{"type":"string","description":"Optional block hash instead of number (EVM 0x + 64 hex, Bitcoin 64 hex; not for Solana)"},"chain":{"type":"string","description":"Required: base, ethereum, bsc, arbitrum, polygon, optimism, avalanche, solana or bitcoin"},"number":{"type":"string","description":"Optional block number (decimal or 0x hex), Solana slot, or \"latest\" (default)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_-WDvFphfM7Z9xDxSzZQpt","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":"Fetches block metadata (number, hash, timestamp, tx count, gas used/limit, base fee, miner) for EVM chains, Bitcoin, or Solana by block number, hash, or 'latest'","exampleAgentPrompt":"What are the details of the latest block on Ethereum — give me the block number, timestamp, transaction count, gas used, base fee, and miner address.","exampleUseCases":[{"title":"Monitor latest Arbitrum block activity","prompt":"Pull the latest block from Arbitrum and tell me the block number, how many transactions it had, and the gas used versus the gas limit."},{"title":"Verify a Bitcoin block by hash","prompt":"Look up the Bitcoin block with hash 000000000000000000023a3a7d3e0c6e5c2c8b7a1f4e9d2c3b4a5f6e7d8c9b0a and give me its header info including timestamp and transaction count."},{"title":"Audit Solana slot details","prompt":"Fetch the details for Solana slot 280000000 — I need the slot number, timestamp, and transaction count for my records."}],"resultDescription":"Returns a structured block summary including block number, hash, timestamp, transaction count, gas used, gas limit, base fee, and miner address for EVM chains; block header fields for Bitcoin; and slot summary (slot number, timestamp, tx count) for Solana.","failureModes":["Invalid chain name returns an error — must be one of: base, ethereum, bsc, arbitrum, polygon, optimism, avalanche, solana, bitcoin","Block hash format mismatch (e.g. passing a Solana-style hash for a Bitcoin lookup) may return an error","Block number out of range or not yet mined returns a not-found error","Solana does not support hash-based lookup — only slot number or 'latest'","Network or RPC timeout may return a 5xx error","Missing required 'chain' query parameter returns a validation error"],"whenToPreferThis":"Use this endpoint when you need structured block-level metadata (number, hash, timestamp, tx count, gas metrics, miner) for any major blockchain — EVM chains (Ethereum, Base, BSC, Arbitrum, Polygon, Optimism, Avalanche), Bitcoin, or Solana — in a single unified API. Prefer this over chain-specific RPCs when you need multi-chain support without managing separate RPC connections, or when you want a lightweight pay-per-call approach without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:35:45.858Z","isFirstParty":false,"canonicalSlug":"nojunk-chain-block-lookup-77f1d70b"}