Class BlockHeaderV1
A block header
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class BlockHeaderV1
Properties
| Edit this page View SourceAccumulatedSeed
A seed needed for initializing a future era.
Declaration
[JsonPropertyName("accumulated_seed")]
public string AccumulatedSeed { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
BodyHash
The hash of the block's body.
Declaration
[JsonPropertyName("body_hash")]
public string BodyHash { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
EraEnd
The EraEnd of a block if it is a switch block.
Declaration
[JsonPropertyName("era_end")]
public EraEndV1 EraEnd { get; init; }
Property Value
| Type | Description |
|---|---|
| EraEndV1 |
EraId
The era ID in which this block was created.
Declaration
[JsonPropertyName("era_id")]
public ulong EraId { get; init; }
Property Value
| Type | Description |
|---|---|
| ulong |
Height
The height of this block, i.e. the number of ancestors.
Declaration
[JsonPropertyName("height")]
public ulong Height { get; init; }
Property Value
| Type | Description |
|---|---|
| ulong |
ParentHash
The parent block's hash.
Declaration
[JsonPropertyName("parent_hash")]
public string ParentHash { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ProtocolVersion
The protocol version of the network from when this block was created.
Declaration
[JsonPropertyName("protocol_version")]
public string ProtocolVersion { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
RandomBit
A random bit needed for initializing a future era.
Declaration
[JsonPropertyName("random_bit")]
public bool RandomBit { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
StateRootHash
The root hash of global state after the deploys in this block have been executed.
Declaration
[JsonPropertyName("state_root_hash")]
public string StateRootHash { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Timestamp
The timestamp from when the block was proposed.
Declaration
[JsonPropertyName("timestamp")]
public string Timestamp { get; init; }
Property Value
| Type | Description |
|---|---|
| string |