Show / Hide Table of Contents

Class SlotFilter

Predicate filter on the slot query parameter for contract state reads. The wire format is a 32-byte 0x-prefixed hex string. Construct via Is(BigInteger); the ctor is private.

Inheritance
object
SlotFilter
Implements
IMirrorFilter
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 SlotFilter : IMirrorFilter, IMirrorQueryParameter
Remarks

The slot query parameter on /api/v1/contracts/{contractIdOrAddress}/state accepts only an equality match — the mirror-node schema exposes no comparison-operator palette for storage-slot addresses. Only an Is(BigInteger) factory is provided; there is no After / Before / NotIs counterpart.

The factory normalizes the BigInteger to the server's canonical wire form: a 32-byte (64-hex-digit) big-endian zero-padded hex string with an 0x prefix. Callers supplying a slot value as an opaque 32-byte integer need no further formatting.

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

Methods

| Edit this page View Source

Is(BigInteger)

Records for the given 32-byte storage slot.

Declaration
public static SlotFilter Is(BigInteger slot)
Parameters
Type Name Description
BigInteger slot

The slot position as a big integer.

Returns
Type Description
SlotFilter

Implements

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