@hashgraph/sdk
    Preparing search index...

    Class ServiceEndpointNamespace

    proto

    Index

    Constructors

    • Parameters

      • Optionalprops: {
            domainName?: null | string;
            ipAddressV4?: null | Uint8Array<ArrayBufferLike>;
            port?: null | number;
        }

      Returns ServiceEndpoint

    Properties

    _domainName: null | string

    A node domain name. This MUST be the fully qualified domain(DNS) name of the node. This value MUST NOT be more than 253 characters. domain_name and ipAddressV4 are mutually exclusive. When the domain_name field is set, the ipAddressV4 field MUST NOT be set. When the ipAddressV4 field is set, the domain_name field MUST NOT be set.

    _ipAddressV4: null | Uint8Array<ArrayBufferLike>

    The 4-byte IPv4 address of the endpoint encoded in left to right order (e.g. 127.0.0.1 has bytes [127, 0, 0, 1]).

    _port: null | number

    The port of the service endpoint. It's required.

    Accessors

    • get getIpAddressV4(): null | Uint8Array<ArrayBufferLike>

      Returns null | Uint8Array<ArrayBufferLike>

      Get 4-byte IPv4 address of the endpoint.

    Methods