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

    Class BlockNodeServiceEndpoint

    A registered service endpoint for a block node.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • Sets the IP address for this endpoint. Per the proto contract this must be 4 bytes (IPv4) or 16 bytes (IPv6) in big-endian order; the consensus node enforces that with INVALID_REGISTERED_ENDPOINT_ADDRESS. The SDK does not pre-check the length so the network's status code is what surfaces.

      Parameters

      • ipAddress: Uint8Array<ArrayBufferLike>

      Returns BlockNodeServiceEndpoint

      If ipAddress is null/undefined.

      If domainName is already set (proto oneof slot).