Class OrderBy
Sets the sort direction for results returned by the mirror node. Paging directive — does not change which records are returned, only the order they appear in the response. Use the static Ascending or Descending instances; the constructor is private.
Inherited Members
Namespace: Hiero.Mirror.Paging
Assembly: Hiero.dll
Syntax
public class OrderBy : IMirrorPaging, IMirrorQueryParameter
Remarks
The wire value is the OpenAPI enum asc | desc. The server's
default direction is endpoint-dependent (most listings default to
asc; a few — such as /api/v1/transactions — default to
desc), so pass an explicit instance when ordering matters.
Fields
| Edit this page View SourceAscending
Requests that results be returned in ascending order.
Declaration
public static OrderBy Ascending
Field Value
| Type | Description |
|---|---|
| OrderBy |
Descending
Requests that results be returned in descending order.
Declaration
public static OrderBy Descending
Field Value
| Type | Description |
|---|---|
| OrderBy |
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 |