Casper.Network.SDK
Show / Hide Table of Contents

Class BlockHeaderV1

A block header

Inheritance
object
BlockHeaderV1
BlockHeaderV2
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class BlockHeaderV1

Properties

| Edit this page View Source

AccumulatedSeed

A seed needed for initializing a future era.

Declaration
[JsonPropertyName("accumulated_seed")]
public string AccumulatedSeed { get; init; }
Property Value
Type Description
string
| Edit this page View Source

BodyHash

The hash of the block's body.

Declaration
[JsonPropertyName("body_hash")]
public string BodyHash { get; init; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

EraId

The era ID in which this block was created.

Declaration
[JsonPropertyName("era_id")]
public ulong EraId { get; init; }
Property Value
Type Description
ulong
| Edit this page View Source

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
| Edit this page View Source

ParentHash

The parent block's hash.

Declaration
[JsonPropertyName("parent_hash")]
public string ParentHash { get; init; }
Property Value
Type Description
string
| Edit this page View Source

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
| Edit this page View Source

RandomBit

A random bit needed for initializing a future era.

Declaration
[JsonPropertyName("random_bit")]
public bool RandomBit { get; init; }
Property Value
Type Description
bool
| Edit this page View Source

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
| Edit this page View Source

Timestamp

The timestamp from when the block was proposed.

Declaration
[JsonPropertyName("timestamp")]
public string Timestamp { get; init; }
Property Value
Type Description
string
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC