Constructors
constructor
- new NetworkId(value): NetworkId
Properties
Readonly
id
id: string
type
Accessors
suffix
- get suffix(): number
Returns number
- set suffix(value): void
Returns void
Methods
addressPrefix
- addressPrefix(): string
Returns string
free
- free(): void
Returns void
toJSON
- toJSON(): Object
Returns Object
toString
- toString(): string
Returns string
- toString(): string
Returns string
NetworkId is a unique identifier for a kaspa network instance. It is composed of a network type and an optional suffix.