Helios API/ API Reference/ Classes/
UTxO
Use TxInput instead
Deprecated
Hierarchy
-
↳
UTxO
Index
Constructors
constructor
• new UTxO(outputId
, output?
)
Parameters
Name | Type | Description |
---|---|---|
outputId | TxOutputId | |
output? | null | TxOutput | used during building, not part of serialization |
Inherited from
Properties
outputId
• Readonly
outputId: TxOutputId
Inherited from
Accessors
address
• get
address(): Address
Shortcut
Returns
Inherited from
TxInput.address
origOutput
• get
origOutput(): TxOutput
Backward compatible alias for TxInput.output
Returns
Inherited from
TxInput.origOutput
output
• get
output(): TxOutput
Returns
Inherited from
TxInput.output
txId
• get
txId(): TxId
Returns
Deprecated
Inherited from
TxInput.txId
utxoIdx
• get
utxoIdx(): number
Returns
number
Deprecated
Inherited from
TxInput.utxoIdx
value
• get
value(): Value
Shortcut
Returns
Inherited from
TxInput.value
Methods
dump
▸ dump(): any
Returns
any
Inherited from
eq
▸ eq(other
): boolean
Parameters
Name | Type |
---|---|
other | TxInput |
Returns
boolean
Inherited from
toCbor
▸ toCbor(): number
[]
Returns
number
[]
Inherited from
toCborHex
▸ toCborHex(): string
Returns
string
Inherited from
toFullCbor
▸ toFullCbor(): number
[]
Returns
number
[]
Inherited from
fromCbor
▸ Static
fromCbor(rawBytes
): TxInput
Parameters
Name | Type |
---|---|
rawBytes | string | number [] |
Returns
Inherited from
fromFullCbor
▸ Static
fromFullCbor(rawBytes
): TxInput
Deserializes TxOutput format used by wallet connector
Parameters
Name | Type |
---|---|
rawBytes | string | number [] |
Returns
Inherited from
sumValue
▸ Static
sumValue(inputs
): Value
Parameters
Name | Type |
---|---|
inputs | TxInput [] |