Skip to main content

TxMetadatumInt

@harmoniclabs/cardano-ledger-tsDocs


@harmoniclabs/cardano-ledger-ts / TxMetadatumInt

Class: TxMetadatumInt

Implements

  • ToCbor
  • ToJson

Constructors

new TxMetadatumInt()

new TxMetadatumInt(n): TxMetadatumInt

Parameters

n: number | bigint

Returns

TxMetadatumInt

Defined in

src/tx/metadata/TxMetadatum.ts:162

Properties

n

readonly n: bigint

Defined in

src/tx/metadata/TxMetadatum.ts:160

Methods

toCbor()

toCbor(): CborString

Returns

CborString

Implementation of

ToCbor.toCbor

Defined in

src/tx/metadata/TxMetadatum.ts:171


toCborObj()

toCborObj(): CborObj

Returns

CborObj

Implementation of

ToCbor.toCborObj

Defined in

src/tx/metadata/TxMetadatum.ts:175


toJson()

toJson(): object

Returns

object

int

int: string

Implementation of

ToJson.toJson

Defined in

src/tx/metadata/TxMetadatum.ts:180