TxIn
@harmoniclabs/cardano-ledger-ts • Docs
@harmoniclabs/cardano-ledger-ts / TxIn
Class: TxIn
Extends
Constructors
new TxIn()
new TxIn(
utxo
):TxIn
Parameters
• utxo: IUTxO
Returns
Inherited from
Defined in
Properties
resolved
readonly
resolved:TxOut
Inherited from
Defined in
utxoRef
readonly
utxoRef:TxOutRef
Inherited from
Defined in
Methods
clone()
clone():
UTxO
Returns
Inherited from
Defined in
toCbor()
toCbor():
CborString
Returns
CborString
Inherited from
Defined in
toCborObj()
toCborObj():
CborArray
Returns
CborArray
Inherited from
Defined in
toData()
toData(
version
?):Data
Parameters
• version?: ToDataVersion
Returns
Data
Inherited from
Defined in
toJson()
toJson():
object
Returns
object
resolved
resolved:
object
resolved.address
address: `addr1${string}` | `addr_test1${string}`
resolved.datum
datum:
any
resolved.refScript
refScript:
undefined
|ScriptSignature
|ScriptAll
|ScriptAny
|ScriptAtLeast
|ScriptAfter
|ScriptBefore
|object
resolved.value
value:
ValueJson
utxoRef
utxoRef:
UTxORefJson
Inherited from
Defined in
src/tx/body/output/UTxO.ts:107
fromCbor()
static
fromCbor(cStr
):UTxO
Parameters
• cStr: CanBeCborString
Returns
Inherited from
Defined in
fromCborObj()
static
fromCborObj(cObj
):UTxO
Parameters
• cObj: CborObj
Returns
Inherited from
Defined in
sort()
static
sort(a
,b
):number
Parameters
• a: IUTxO
• b: IUTxO
Returns
number