TxOutRef
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / TxOutRef
Class: TxOutRef
Implements
ITxOutRef
ToData
ToCbor
ToJson
Constructors
new TxOutRef()
new TxOutRef(
__namedParameters
):TxOutRef
Parameters
• __namedParameters: ITxOutRef
Returns
Defined in
src/tx/body/output/TxOutRef.ts:73
Properties
id
readonly
id:Hash32
Implementation of
Defined in
src/tx/body/output/TxOutRef.ts:70
index
readonly
index:number
Implementation of
Defined in
src/tx/body/output/TxOutRef.ts:71
Accessors
fake
get
static
fake():TxOutRef
Returns
Defined in
src/tx/body/output/TxOutRef.ts:166
Methods
eq()
eq(
other
):boolean
Parameters
• other: ITxOutRef
Returns
boolean
Defined in
src/tx/body/output/TxOutRef.ts:179
toCbor()
toCbor():
CborString
Returns
CborString
Implementation of
ToCbor.toCbor
Defined in
src/tx/body/output/TxOutRef.ts:124
toCborObj()
toCborObj():
CborObj
Returns
CborObj
Implementation of
ToCbor.toCborObj
Defined in
src/tx/body/output/TxOutRef.ts:128
toData()
toData(
version
?):DataConstr
Parameters
• version?: ToDataVersion
Returns
DataConstr
Implementation of
ToData.toData
Defined in
src/tx/body/output/TxOutRef.ts:110
toJson()
toJson():
UTxORefJson
Returns
Implementation of
ToJson.toJson
Defined in
src/tx/body/output/TxOutRef.ts:158
toString()
toString(): `${string}#${number}`
Returns a string representation of an object.
Returns
`${string}#${number}`
Defined in
src/tx/body/output/TxOutRef.ts:93
eq()
static
eq(a
,b
):boolean
Parameters
• a: ITxOutRef
• b: ITxOutRef
Returns
boolean
Defined in
src/tx/body/output/TxOutRef.ts:174
fromCbor()
static
fromCbor(cStr
):TxOutRef
Parameters
• cStr: CanBeCborString
Returns
Defined in
src/tx/body/output/TxOutRef.ts:136
fromCborObj()
static
fromCborObj(cObj
):TxOutRef
Parameters
• cObj: CborObj
Returns
Defined in
src/tx/body/output/TxOutRef.ts:140
fromString()
static
fromString(str
):TxOutRef
Parameters
• str: string
Returns
Defined in
src/tx/body/output/TxOutRef.ts:98
sort()
static
sort(a
,b
):number
Parameters
• a: ITxOutRef
• b: ITxOutRef
Returns
number