Get block DAG information
Provides information about the Directed Acyclic Graph (DAG) structure of the Kaspa BlockDAG. Returns number of blocks in the DAG, number of tips in the DAG, hash of the selected parent block, difficulty of the selected parent block, selected parent block blue score, selected parent block time.
Documentation Index
Fetch the complete documentation index at: https://docs.kas.fyi/llms.txt
Use this file to discover all available pages before exploring further.
Cost
This endpoint costs 0.1 RU (Request Units) per call.Authorizations
API key required for authentication. Get your API key at https://developer.kas.fyi
Response
Block DAG information retrieved successfully
Network identifier
"mainnet"
Number of blocks in the DAG
"1234567"
Number of headers in the DAG
"1234567"
Array of tip hashes in the DAG
["0x1234567890abcdef..."]Current difficulty
1.234567
Past median time
"1638360000000"
Virtual parent hashes
["0x1234567890abcdef..."]Pruning point hash
"0x1234567890abcdef..."
Virtual DAA score
"12345678"
Sink hash
"0x1234567890abcdef..."