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.
Inherited Members
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 SourceExclude
Omit the stack array from each returned opcode.
Declaration
public static readonly OpcodeStackProjectionFilter Exclude
Field Value
| Type | Description |
|---|---|
| OpcodeStackProjectionFilter |
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 SourceName
The query parameter name recognized by the remote mirror node.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Value
The value of the query parameter sent to the mirror node.
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |