Skip to main content

Block

A block in the blockchain.

author object

Authoring validator address.

typerequired

Authoring validator address.

Possible values: [accountId, address20, address32, index, raw]

valueAccountIdHex (string)required

Account id as 32-byte hex.

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
eventCountinteger<int32>required

Number of events in the block.

Possible values: >= 0

Example: 56
extrinsicCountinteger<int32>required

Number of extrinsics in the block.

Possible values: >= 0

Example: 2
extrinsicRootHash256Hex (string)required

Merkle root of included extrinsics.

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
hashHash256Hex (string)required

Block hash (Blake2 256-bit).

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
numberinteger<int64>required

Block height.

Possible values: >= 0

Example: 27419831
parentHashHash256Hex (string)required

Parent block hash.

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
specVersioninteger<int32>required

Runtime spec version.

Possible values: >= 0

Example: 1006001
stateRootHash256Hex (string)required

Root hash of the state trie after executing this block.

Possible values: Value must match regular expression ^0x[a-f0-9]{64}$

Example: 0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3
statusBlockStatus (string)required

Block status.

  • finalized: Blocks that have been finalized on chain.
  • proposed: Blocks that have been authored but not yet finalized.
  • pruned: Blocks that have been removed or are no longer accessible.

Possible values: [proposed, pruned, finalized]

Example: finalized
timestampinteger<int64>

Block timestamp. Milliseconds.

Possible values: >= 0

Example: 1755773684012
weightobject

Block weight in JSON format. Schema depends on runtime metadata.

Block
{
"author": {
"type": "accountId",
"value": "0x269a84431cd8dfc5762beadfa54a8f21597c12d4f31e51f9f6f985f65ba0c626"
},
"eventCount": 56,
"extrinsicCount": 2,
"extrinsicRoot": "0x7893dd573a5033a6d785bf4038c237cbd8e1f3730d177d4f9b21c8d2c7b34454",
"hash": "0xc82fe0d5752d42ae3d325f14206859f86cec7447f244d5b4bccfc2a00bd58df8",
"number": 27419831,
"parentHash": "0x1615581259dd1ac45fea1b23406367ca79c9f6dfa3b3b1115517c6e86250c42b",
"specVersion": 1006001,
"stateRoot": "0x8c8b0b599733c41bad79a617d8f2f0213a5d965d287cee16c9efd65f23001603",
"status": "finalized",
"timestamp": 1755773684012,
"weight": {
"mandatory": {
"proofSize": "204955",
"refTime": "701777135384"
},
"normal": {
"proofSize": "0",
"refTime": "0"
},
"operational": {
"proofSize": "0",
"refTime": "0"
}
}
}