Implements
Implements
UTXOLike
Constructors
new UTXO()
Returns
UTXO
Source
transaction/utxo.ts:271Accessors
address
Throws
If the address is invalid.Parameters
Parameter | Type | Description |
---|---|---|
value | string | The address. |
Returns
string
The address.
Source
transaction/utxo.ts:217denomination
Throws
If the denomination value is invalid.Parameters
Parameter | Type | Description |
---|---|---|
value | null | number | The denomination. |
Returns
null
| number
The denomination.
Source
transaction/utxo.ts:237index
Parameters
Parameter | Type | Description |
---|---|---|
value | null | number | The index. |
Returns
null
| number
The index.
Source
transaction/utxo.ts:199txhash
Parameters
Parameter | Type | Description |
---|---|---|
value | null | string | The transaction hash. |
Returns
null
| string
The transaction hash.
Source
transaction/utxo.ts:181Methods
toJSON()
Returns
any
A JSON representation of the UTXO instance.
Source
transaction/utxo.ts:284from()
Parameters
Parameter | Type | Description |
---|---|---|
utxo | UTXOLike | The UTXOLike object to convert. |
Returns
UTXO
The UTXO instance.