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.
Inherited Members
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 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 |
Methods
| Edit this page View SourceIs(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 |