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.
Inherited Members
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 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 —
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 SourceIs(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 |