- Preparing search index...
- The search index is not available
cardano-sdk
Constructors
constructor
- new ProtocolVersion(major: number, minor: number): ProtocolVersion
-
Parameters
-
major: number
-
minor: number
Properties
Private
#private
#private: any
Methods
major
- major(): number
-
Returns number
minor
- minor(): number
-
Returns number
setMajor
- setMajor(major: number): void
-
Returns void
setMinor
- setMinor(minor: number): void
-
Returns void
toCbor
- toCbor(): HexBlob
-
toCore
- toCore(): ProtocolVersion
-
Static
fromCbor
- fromCbor(cbor: HexBlob): ProtocolVersion
-