Class GetBlockContentsProofParams
Identifies a block item for which a BlockContentsProof is requested.
Inherited Members
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 SourceBlockNumber
The number of the block containing the item.
Declaration
public ulong BlockNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| ulong |
Item
Declaration
public BlockItem? Item { get; set; }
Property Value
| Type | Description |
|---|---|
| BlockItem |
ItemHash
Declaration
public ReadOnlyMemory<byte>? ItemHash { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<byte>? |
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? |