TxMetadatumBytes
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / TxMetadatumBytes
Class: TxMetadatumBytes
Implements
ToCbor
ToJson
Constructors
new TxMetadatumBytes()
new TxMetadatumBytes(
bytes
):TxMetadatumBytes
Parameters
• bytes: ByteString
| Uint8Array
Returns
Defined in
src/tx/metadata/TxMetadatum.ts:191
Properties
bytes
readonly
bytes:Uint8Array
Defined in
src/tx/metadata/TxMetadatum.ts:189
Methods
toCbor()
toCbor():
CborString
Returns
CborString
Implementation of
ToCbor.toCbor
Defined in
src/tx/metadata/TxMetadatum.ts:200
toCborObj()
toCborObj():
CborObj
Returns
CborObj
Implementation of
ToCbor.toCborObj
Defined in
src/tx/metadata/TxMetadatum.ts:204
toJson()
toJson():
object
Returns
object
bytes
bytes:
string
Implementation of
ToJson.toJson