@hiero-ledger/sdk
    Preparing search index...

    Class RegisteredNodeAddressBookQuery

    Mirror-node REST query for registered nodes.

    Talks to the mirror node's Java REST API at /api/v1/network/registered-nodes through the client's shared HTTP transport. Pure HTTP: no payment, no node rotation, no gRPC streaming, so this class deliberately does not extend Query.

    Retry, backoff and timeouts follow the client's MirrorNodeHttpRetryPolicy (see Client.setMirrorNodeHttpConfig). setMaxAttempts and setMaxBackoff override only the field they name, for this query.

    Parsing of individual JSON entries lives on the model classes (RegisteredNode._fromJson, RegisteredServiceEndpoint._fromJson). This class just owns paging and the path-building.

    Index

    Constructors

    Accessors

    Methods

    • Parameters

      • client: Client<Channel, MirrorChannel>
      • requestTimeout: undefined | number

        total budget for the whole query in milliseconds, every page and every retry included. Defaults to the retry policy's totalDeadline, which in turn defaults to client.requestTimeout.

      Returns Promise<RegisteredNodeAddressBook>