Show / Hide Table of Contents

Class BlockData

Block information retrieved from a mirror node.

Inheritance
object
BlockData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class BlockData

Properties

| Edit this page View Source

Count

Number of transactions in this block.

Declaration
[JsonPropertyName("count")]
[JsonConverter(typeof(IntMirrorConverter))]
public int Count { get; set; }
Property Value
Type Description
int
| Edit this page View Source

GasUsed

The amount of gas that was used.

Declaration
[JsonPropertyName("gas_used")]
[JsonConverter(typeof(UnsignedLongMirrorConverter))]
public ulong GasUsed { get; set; }
Property Value
Type Description
ulong
| Edit this page View Source

Hash

The Hash of the block.

Declaration
[JsonPropertyName("hash")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> Hash { get; set; }
Property Value
Type Description
ReadOnlyMemory<byte>
| Edit this page View Source

LogsBloom

The bloom filter for this block.

Declaration
[JsonPropertyName("logs_bloom")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> LogsBloom { get; set; }
Property Value
Type Description
ReadOnlyMemory<byte>
| Edit this page View Source

Name

The filename of this block exported by the gossip node network.

Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Number

The number identifier of this block.

Declaration
[JsonPropertyName("number")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Number { get; set; }
Property Value
Type Description
long
| Edit this page View Source

PreviousHash

The Hash of the previous block.

Declaration
[JsonPropertyName("previous_hash")]
[JsonConverter(typeof(HexStringToBytesConverter))]
public ReadOnlyMemory<byte> PreviousHash { get; set; }
Property Value
Type Description
ReadOnlyMemory<byte>
| Edit this page View Source

Size

The size of this block.

Declaration
[JsonPropertyName("size")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Size { get; set; }
Property Value
Type Description
long
| Edit this page View Source

TimestampRange

The consensus timestamp range this block covers.

Declaration
[JsonPropertyName("timestamp")]
public TimestampRangeData TimestampRange { get; set; }
Property Value
Type Description
TimestampRangeData
| Edit this page View Source

Version

The Hedera API version number this block was created with.

Declaration
[JsonPropertyName("hapi_version")]
public string Version { get; set; }
Property Value
Type Description
string
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph