Show / Hide Table of Contents

Class GetBlockContentsProofParams

Identifies a block item for which a BlockContentsProof is requested.

Inheritance
object
GetBlockContentsProofParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.BlockNode
Assembly: Hiero.dll
Syntax
[Experimental("HIERO001", UrlFormat = "https://github.com/bugbytesinc/Hiero/blob/main/docs/blocknode-client-plan.md")]
public sealed class GetBlockContentsProofParams
Remarks

The item may be identified by exactly one of three means: the complete item (Item), the item's hash (ItemHash), or the item's zero-based index within the block (ItemIndex). Setting none, or more than one, is an error.

Properties

| Edit this page View Source

BlockNumber

The number of the block containing the item.

Declaration
public ulong BlockNumber { get; set; }
Property Value
Type Description
ulong
| Edit this page View Source

Item

The complete block item to prove. Exactly one of Item, ItemHash or ItemIndex must be set.

Declaration
public BlockItem? Item { get; set; }
Property Value
Type Description
BlockItem
| Edit this page View Source

ItemHash

The hash of the block item to prove. Exactly one of Item, ItemHash or ItemIndex must be set.

Declaration
public ReadOnlyMemory<byte>? ItemHash { get; set; }
Property Value
Type Description
ReadOnlyMemory<byte>?
| Edit this page View Source

ItemIndex

The zero-based index within the block of the item to prove. Exactly one of Item, ItemHash or ItemIndex must be set.

Declaration
public uint? ItemIndex { get; set; }
Property Value
Type Description
uint?
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph