A block header (alias for BlockHeaderV2)
Assembly: Casper.Network.SDK.dll
Fields
|
Edit this page
View Source
Declaration
protected BlockHeaderV1 _blockHeaderV1
Field Value
|
Edit this page
View Source
Declaration
protected BlockHeaderV2 _blockHeaderV2
Field Value
|
Edit this page
View Source
Declaration
Field Value
Properties
|
Edit this page
View Source
A seed needed for initializing a future era.
Declaration
public string AccumulatedSeed { get; init; }
Property Value
|
Edit this page
View Source
BodyHash
The hash of the block's body.
Declaration
public string BodyHash { get; init; }
Property Value
|
Edit this page
View Source
The gas price of the era.
Declaration
public ushort CurrentGasPrice { get; init; }
Property Value
|
Edit this page
View Source
The EraEnd of a block if it is a switch block.
Declaration
public EraEnd EraEnd { get; init; }
Property Value
|
Edit this page
View Source
The era ID in which this block was created.
Declaration
public ulong EraId { get; init; }
Property Value
|
Edit this page
View Source
The height of this block, i.e. the number of ancestors.
Declaration
public ulong Height { get; init; }
Property Value
|
Edit this page
View Source
Declaration
public string LastSwitchBlockHash { get; init; }
Property Value
|
Edit this page
View Source
Declaration
public string ParentHash { get; init; }
Property Value
|
Edit this page
View Source
Public key of the validator that proposed the block
Declaration
public Proposer Proposer { get; init; }
Property Value
|
Edit this page
View Source
The protocol version of the network from when this block was created.
Declaration
public string ProtocolVersion { get; init; }
Property Value
|
Edit this page
View Source
RandomBit
A random bit needed for initializing a future era.
Declaration
public bool RandomBit { get; init; }
Property Value
|
Edit this page
View Source
The root hash of global state after the deploys in this block have been executed.
Declaration
public string StateRootHash { get; init; }
Property Value
|
Edit this page
View Source
The timestamp from when the block was proposed.
Declaration
public string Timestamp { get; init; }
Property Value
|
Edit this page
View Source
Returns the version of the block.
Declaration
public int Version { get; }
Property Value
Operators
|
Edit this page
View Source
Declaration
public static explicit operator BlockHeaderV1(BlockHeader blockHeader)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static explicit operator BlockHeaderV2(BlockHeader blockHeader)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static explicit operator BlockHeader(BlockHeaderV1 blockHeader)
Parameters
Returns
|
Edit this page
View Source
Declaration
public static explicit operator BlockHeader(BlockHeaderV2 blockHeader)
Parameters
Returns