Skip to main content

TxMetadatumBytes

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / TxMetadatumBytes

Class: TxMetadatumBytes

Implements

  • ToCbor
  • ToJson

Constructors

new TxMetadatumBytes()

new TxMetadatumBytes(bytes): TxMetadatumBytes

Parameters

bytes: ByteString | Uint8Array

Returns

TxMetadatumBytes

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

Defined in

src/tx/metadata/TxMetadatum.ts:225