Skip to main content

Block

A block with its relevant data.

type Block {
hash: HexEncoded!
height: Int!
protocolVersion: Int!
timestamp: Int!
author: HexEncoded
parent: Block
transactions: [Transaction!]!
ledgerParameters: HexEncoded!
systemParameters: SystemParameters!
}

Fields

Block.hash ● HexEncoded! non-null scalar

The block hash.

Block.height ● Int! non-null scalar

The block height.

Block.protocolVersion ● Int! non-null scalar

The protocol version.

Block.timestamp ● Int! non-null scalar

The UNIX timestamp.

Block.author ● HexEncoded scalar

The hex-encoded block author.

Block.parent ● Block object

The parent of this block.

Block.transactions ● [Transaction!]! non-null interface

The transactions within this block.

Block.ledgerParameters ● HexEncoded! non-null scalar

The hex-encoded ledger parameters for this block.

Block.systemParameters ● SystemParameters! non-null object

The system parameters (governance) at this block height.

Returned By

block query ● blocks subscription

Member Of

Block object ● RegularTransaction object ● SystemTransaction object ● Transaction interface