- Preparing search index...
- The search index is not available
cardano-sdk
Constructors
constructor
- new Value(coin: bigint, multiasset?: TokenMap): Value
-
Parameters
-
coin: bigint
-
Optional
multiasset: TokenMap
Properties
Private
#private
#private: any
Methods
coin
- coin(): bigint
-
Returns bigint
multiasset
- multiasset(): undefined | TokenMap
-
Returns undefined | TokenMap
setCoin
- setCoin(coin: bigint): void
-
Returns void
setMultiasset
- setMultiasset(multiasset: TokenMap): void
-
Returns void
toCbor
- toCbor(): HexBlob
-
toCore
- toCore(): Value
-
Static
fromCbor
- fromCbor(cbor: HexBlob): Value
-
Static
fromCore
- fromCore(coreValue: Value): Value
-