{"uid":"cap_h5DfLo023QByjCahJZ7DY","slug":"kaspa-block-detail-by-hash-d5afc873","name":"Kaspa Block Detail by Hash","description":"Detailed Kaspa block by 64-character hex hash: timestamp, blue score, DAA score, parents, children, merge set blues/reds, transaction count, difficulty, and selected chain status (isChainBlock). Returns 404 if block is not found.","url":"https://api.chainmarket-api.workers.dev/api/crypto/kaspa-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"],"type":"string"},"queryParams":{"type":"object","required":["hash"],"properties":{"hash":{"type":"string","pattern":"^[0-9a-fA-F]{64}$","description":"64-character lowercase hex hash of the block"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pAND-IVmOHKsPZRb0L4UF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches detailed metadata for a single Kaspa block identified by its 64-character hex hash, including DAG structure, timestamps, difficulty, and chain status.","exampleAgentPrompt":"Pull up the full block details for Kaspa block hash 3a7f9e2b1c6d4e8f0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0c1d2e3f — I want to see the blue score, DAA score, whether it's a chain block, and how many transactions it contains.","exampleUseCases":[{"title":"Verify block chain inclusion status","prompt":"Can you check if Kaspa block 1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b is part of the selected chain and tell me its blue score and timestamp?"},{"title":"Audit DAG parent-child relationships","prompt":"For Kaspa block hash 0f1e2d3c4b5a6978a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8c7d6e5f4, show me its parent hashes, child hashes, and the merge set blues and reds so I can trace its position in the DAG."},{"title":"Investigate block mining difficulty","prompt":"What was the mining difficulty and DAA score for the Kaspa block with hash 9c8b7a6f5e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b?"}],"resultDescription":"Returns a JSON object containing the block's timestamp, blue score, DAA score, array of parent block hashes, array of child block hashes, merge set blues (list of block hashes), merge set reds (list of block hashes), transaction count, mining difficulty, and isChainBlock boolean indicating whether it is part of the selected chain. Returns HTTP 404 if the block hash is not found.","failureModes":["404 Not Found if the provided hash does not correspond to any known block","400 Bad Request if the hash is not exactly 64 hexadecimal characters","Network timeout if the Kaspa node is temporarily unreachable","Empty merge set arrays if the block has no blues or reds (e.g. genesis block)"],"whenToPreferThis":"Use this endpoint when you need granular, per-block detail for a specific Kaspa block identified by its hash — including DAG-specific fields like blue score, merge set blues/reds, and isChainBlock status that are unique to Kaspa's BlockDAG architecture. Prefer it over general Kaspa network endpoints when you already have a block hash and need to inspect its structure, validate its chain inclusion, or trace DAG relationships.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T18:31:08.081Z","isFirstParty":false,"canonicalSlug":"kaspa-block-detail-by-hash-d5afc873"}