Show / Hide Table of Contents

Class OpcodeStackProjectionFilter

Projection toggle on the stack query parameter — controls whether the mirror node populates each Stack array in an opcode-trace response. Implements IMirrorProjection: it reshapes each record, not which records are returned.

Inheritance
object
OpcodeStackProjectionFilter
Implements
IMirrorProjection
IMirrorQueryParameter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.Mirror.Filters
Assembly: Hiero.dll
Syntax
public sealed class OpcodeStackProjectionFilter : IMirrorProjection, IMirrorQueryParameter
Remarks

The mirror-node default is stack=true; passing Exclude opts out. Excluding stack information is a useful latency/bandwidth reduction when the caller only cares about the opcode sequence or the final result.

Accepted by /api/v1/contracts/results/{transactionIdOrHash}/opcodes.

Fields

| Edit this page View Source

Exclude

Omit the stack array from each returned opcode.

Declaration
public static readonly OpcodeStackProjectionFilter Exclude
Field Value
Type Description
OpcodeStackProjectionFilter
| Edit this page View Source

Include

Populate the stack array on each returned opcode (the server's default behavior — explicit here for call-site clarity).

Declaration
public static readonly OpcodeStackProjectionFilter Include
Field Value
Type Description
OpcodeStackProjectionFilter

Properties

| Edit this page View Source

Name

The query parameter name recognized by the remote mirror node.

Declaration
public string Name { get; }
Property Value
Type Description
string
| Edit this page View Source

Value

The value of the query parameter sent to the mirror node.

Declaration
public string Value { get; }
Property Value
Type Description
string

Implements

IMirrorProjection
IMirrorQueryParameter
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph