Block
The Block
entity provides a normalized representation of the Casper Network block. It doesn't contain the executed deploy hashes as the network block object. However, they could be queried separately using the Deploy API.
Properties
The Block
entity has the following properties:
Property | Type | Description |
---|---|---|
|
| Block height. Primary block identifier |
|
| Block hash represented as a hexadecimal string. Secondary block identifier |
|
| Parent block hash represented as a hexadecimal string |
|
| Identifier of the network's state after executing the block's deploys represented as a hexadecimal string |
|
| Era ID in which the block was created |
|
| Public key of the validator who proposed the block represented as a hexadecimal string |
|
| Number of native transfer deploys included in the block |
|
| Number of contract calls included in the block |
|
|
|
|
| The timestamp from when the block was proposed |
Example
Optional properties
Depending on the endpoint some of the following optional properties may be included in the Block
entity:
Property | Type | Description |
---|---|---|
|
| Account info of proposer public key |
Relations
Entity | Mapping property | Description |
---|---|---|
| Blocks can have deploys | |
| Blocks are proposed by validators |
Endpoints
The Block
entity has the following endpoints:
Relation endpoints
The Block
entity has the following relation endpoints:
Last updated