Optionalprops: RegisteredServiceEndpointProps = {}Sets the fully-qualified domain name for this endpoint. Per the proto
contract this must be a valid ASCII FQDN of at most 250 chars; the
consensus node enforces that with INVALID_REGISTERED_ENDPOINT_ADDRESS.
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.
Sets the port. Per the proto contract this must be in [0, 65535];
the consensus node enforces that with INVALID_REGISTERED_ENDPOINT.
A service endpoint published by a registered node.
Abstract base class. Use one of the concrete subclasses (
BlockNodeServiceEndpoint,MirrorNodeServiceEndpoint,RpcRelayServiceEndpoint,GeneralServiceEndpoint) instead of instantiating this class directly.