Show / Hide Table of Contents

Class PublicKeyFilter

Predicate filter on the publickey query parameter of the /api/v1/tokens list endpoint. Matches tokens whose admin / supply / wipe / etc. key equals the given public key.

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

Matches all key slots exposed by TokenInfo: admin, freeze, kyc, supply, wipe, fee-schedule, pause, metadata. The mirror node determines which slot matches — the filter itself doesn't narrow further.

Note: this targets the bare publickey query parameter used by /tokens. The distinct account.publickey parameter on /accounts, /balances, and /tokens/{id}/balances is handled by a separate filter type (not yet introduced).

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 — raw hex form of the key's mirror-format bytes, without a 0x prefix.

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

Methods

| Edit this page View Source

Is(Endorsement)

Matches records whose public key equals the given endorsement. The endorsement's mirror-format bytes are hex-encoded for transport.

Declaration
public static PublicKeyFilter Is(Endorsement endorsement)
Parameters
Type Name Description
Endorsement endorsement

The endorsement carrying the public key to match against.

Returns
Type Description
PublicKeyFilter

Implements

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