Skip to content
Last updated

Build network dashboard widgets that display key Kadena blockchain metrics.


NetworkInfo: KDA Supply

Retrieve essential network statistics for dashboard widgets and analytics platforms.

query NetworkInfo {
  networkInfo {
    coinsInCirculation
  }
}

Variables

{}

Response

{
  "data": {
    "networkInfo": {
      "coinsInCirculation": 331907696.42982113
    }
  }
}

Use Cases

  • Homepage KPI widgets
  • Market cap calculations
  • Network statistics dashboards
  • Ecosystem overview displays

Notes Total KDA supply updates in real-time as new blocks are mined. Essential for calculating market cap when combined with price data.


NetworkInfo: Network Hash Rate

Retrieve current network hash rate for mining difficulty and security analysis.

query NetworkHashRate {
  networkInfo {
    networkHashRate
  }
}

Variables

{}

Response

{
  "data": {
    "networkInfo": {
      "networkHashRate": 501808397925133630
    }
  }
}

Use Cases

  • Mining difficulty dashboards
  • Network security monitoring
  • Hash rate trend analysis
  • Mining pool statistics

Notes Hash rate represents the total computational power securing the network. Higher values indicate stronger network security.


NetworkInfo: Total Difficulty

Retrieve cumulative mining difficulty for blockchain security analysis.

query TotalDifficulty {
  networkInfo {
    totalDifficulty
  }
}

Variables

{}

Response

{
  "data": {
    "networkInfo": {
      "totalDifficulty": 13004030628148382000
    }
  }
}

Use Cases

  • Blockchain security metrics
  • Mining progression analysis
  • Network maturity indicators
  • Historical difficulty tracking

Notes Total difficulty represents cumulative work done since genesis. Continuously increases as blocks are mined and difficulty adjusts.


LastBlockHeight: Current Block Progress

Retrieve the highest block height across all chains to show current blockchain progress.

query Query {
  lastBlockHeight
}

Variables

{}

Response

{
  "data": {
    "lastBlockHeight": 6211678
  }
}

Use Cases

  • Network status dashboards
  • Blockchain sync indicators
  • Progress tracking displays
  • Health monitoring systems

Notes Represents the highest block height across all 20 chains. Updates in real-time as new blocks are mined.