Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 511 Bytes

getBlockInfoByBlockNumber.md

File metadata and controls

34 lines (31 loc) · 511 Bytes

Get a block number details

GraphQL API

  • Query Example
    query getBlockInfoByBlockNumber {
      block(blockNumber: "1000000") {
        blockHash
        block
        parentHash
        author
        stateRoot
        transactionRoot
        receiptsRoot
        gasUsed
        gasLimit
        extraData
        logsBloom
        difficulty
        totalDifficulty
        size
        age
        transactions {
          edges {
            node {
              transaction
            }
          }
        }
      }
    }