- Preparing search index...
- The search index is not available
cardano-sdk
Constructors
constructor
- new SingleHostAddr(port?: number, ipv4?: string, ipv6?: string): SingleHostAddr
-
Parameters
-
Optional
port: number
-
Optional
ipv4: string
-
Optional
ipv6: string
Properties
Private
#private
#private: any
Methods
ipv4
- ipv4(): undefined | string
-
Returns undefined | string
ipv6
- ipv6(): undefined | string
-
Returns undefined | string
port
- port(): undefined | number
-
Returns undefined | number
setIpv4
- setIpv4(ipV4: undefined | string): void
-
Returns void
setIpv6
- setIpv6(ipV6: undefined | string): void
-
Returns void
setPort
- setPort(port: undefined | number): void
-
Returns void
toCbor
- toCbor(): HexBlob
-
toCore
- toCore(): RelayByAddress
-
Static
fromCbor
- fromCbor(cbor: HexBlob): SingleHostAddr
-
Static
fromCore
- fromCore(relay: RelayByAddress): SingleHostAddr
-