Casper.Network.SDK
Show / Hide Table of Contents

Class BlockHeaderV2

Inheritance
object
BlockHeaderV1
BlockHeaderV2
Inherited Members
BlockHeaderV1.AccumulatedSeed
BlockHeaderV1.BodyHash
BlockHeaderV1.EraId
BlockHeaderV1.Height
BlockHeaderV1.ParentHash
BlockHeaderV1.ProtocolVersion
BlockHeaderV1.RandomBit
BlockHeaderV1.StateRootHash
BlockHeaderV1.Timestamp
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 BlockHeaderV2 : BlockHeaderV1

Properties

| Edit this page View Source

CurrentGasPrice

The gas price of the era.

Declaration
[JsonPropertyName("current_gas_price")]
public ushort CurrentGasPrice { get; init; }
Property Value
Type Description
ushort
| Edit this page View Source

EraEnd

The EraEnd of a block if it is a switch block.

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

LastSwitchBlockHash

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

Proposer

Public key of the validator that proposed the block

Declaration
[JsonPropertyName("proposer")]
[JsonConverter(typeof(Proposer.ProposerConverter))]
public Proposer Proposer { get; init; }
Property Value
Type Description
Proposer
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC