BaseValue⚓︎
- BaseValue
- Represents a base integer.
Extended by⚓︎
AmountBlockDurationBlockFeeMultiplierDifficultyFinalizationEpochFinalizationPointHeightImportanceImportanceHeightUnresolvedMosaicIdMosaicIdTimestampNamespaceIdMosaicNonceMosaicRestrictionKey
Constructors⚓︎
new BaseValue()⚓︎
Creates a base value.
Parameters⚓︎
| Parameter | Type | Description |
|---|---|---|
size |
number |
Size of the integer. |
value |
number | bigint |
Value. |
isSigned? |
boolean |
\c true if the value should be treated as signed. |
Returns⚓︎
BaseValue
Properties⚓︎
| Property | Type | Description |
|---|---|---|
isSigned |
boolean |
\c true if the value should be treated as signed. |
size |
number |
Size of the integer. |
value |
number | bigint |
Value. |
Methods⚓︎
toJson()⚓︎
- BaseValue.toJson
- Returns representation of this object that can be stored in JSON.
Returns⚓︎
string | number
JSON-safe representation of this object.
toString()⚓︎
- BaseValue.toString
- Converts base value to string.
Returns⚓︎
string
String representation.