Block
For the complete documentation index, see llms.txt
A block with its relevant data.
type Block {
hash: HexEncoded!
height: Int!
protocolVersion: Int!
timestamp: Int!
author: HexEncoded
zswapMerkleTreeRoot: HexEncoded!
ledgerParameters: HexEncoded!
zswapEndIndex: Int!
dustCommitmentEndIndex: Int!
dustGenerationEndIndex: Int!
parent: Block
transactions: [Transaction!]!
systemParameters: SystemParameters!
dustCommitmentMerkleTreeRoot: HexEncoded
dustGenerationMerkleTreeRoot: HexEncoded
}
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.zswapMerkleTreeRoot ● HexEncoded! non-null scalar
The hex-encoded serialized zswap state Merkle tree root.
Block.ledgerParameters ● HexEncoded! non-null scalar
The hex-encoded ledger parameters for this block.
Block.zswapEndIndex ● Int! non-null scalar
The zswap commitment tree end index at this block; exclusive, i.e. the next free index.
Block.dustCommitmentEndIndex ● Int! non-null scalar
The dust commitment tree end index at this block; exclusive, i.e. the next free index.
Block.dustGenerationEndIndex ● Int! non-null scalar
The dust generation tree end index at this block; exclusive, i.e. the next free index.
Block.parent ● Block object
The parent of this block.
Block.transactions ● [Transaction!]! non-null interface
The transactions within this block.
Block.systemParameters ● SystemParameters! non-null object
The system parameters (governance) at this block height.
Block.dustCommitmentMerkleTreeRoot ● HexEncoded scalar
The hex-encoded dust commitment Merkle tree root at the latest indexed state.
Block.dustGenerationMerkleTreeRoot ● HexEncoded scalar
The hex-encoded dust generation Merkle tree root at the latest indexed state.
Returned By
block query ● blocks subscription
Member Of
Block object ● RegularTransaction object ● SystemTransaction object ● Transaction interface