Helios API/ API Reference/ Classes/
TxOutputId
Id of a Utxo
Hierarchy
-
↳
TxOutputId
Index
Constructors
constructor
• new TxOutputId(...args
)
Parameters
Name | Type |
---|---|
...args | [TxOutputIdProps ] | [TxId , number | bigint ] |
Overrides
Accessors
txId
• get
txId(): TxId
Returns
utxoIdx
• get
utxoIdx(): number
Returns
number
Methods
_toUplcData
▸ _toUplcData(): ConstrData
Returns
eq
▸ eq(other
): boolean
Parameters
Name | Type |
---|---|
other | TxOutputId |
Returns
boolean
toCbor
▸ toCbor(): number
[]
Returns
number
[]
Inherited from
toCborHex
▸ toCborHex(): string
Returns
string
Inherited from
toSchemaJson
▸ toSchemaJson(): string
Returns
string
Inherited from
cleanConstructorArgs
▸ Static
cleanConstructorArgs(props
): [HashProps
| TxId
, HInt
| HIntProps
]
Parameters
Name | Type |
---|---|
props | TxOutputIdProps |
Returns
[HashProps
| TxId
, HInt
| HIntProps
]
comp
▸ Static
comp(a
, b
): number
Parameters
Name | Type |
---|---|
a | TxOutputId |
b | TxOutputId |
Returns
number
dummy
▸ Static
dummy(): TxOutputId
Returns
fromCbor
▸ Static
fromCbor(rawBytes
): TxOutputId
Parameters
Name | Type |
---|---|
rawBytes | string | number [] |
Returns
fromProps
▸ Static
fromProps(props
): TxOutputId
Parameters
Name | Type |
---|---|
props | TxOutputId | TxOutputIdProps |
Returns
fromUplcCbor
▸ Static
fromUplcCbor(bytes
): TxOutputId
Parameters
Name | Type |
---|---|
bytes | string | number [] |
Returns
fromUplcData
▸ Static
fromUplcData(data
): TxOutputId
Parameters
Name | Type |
---|---|
data | UplcData |