# Class BSV::Network::UTXO <a id="class-BSV-Network-UTXO"></a>

**Inherits:** `Object`

## Attributes
### `height` [R] <a id="attribute-i-height"></a> <a id="height-instance_method"></a>
Returns the value of attribute height.

### `satoshis` [R] <a id="attribute-i-satoshis"></a> <a id="satoshis-instance_method"></a>
Returns the value of attribute satoshis.

### `tx_hash` [R] <a id="attribute-i-tx_hash"></a> <a id="tx_hash-instance_method"></a>
Returns the value of attribute tx_hash.

### `tx_pos` [R] <a id="attribute-i-tx_pos"></a> <a id="tx_pos-instance_method"></a>
Returns the value of attribute tx_pos.

## Public Instance Methods
### `==(other)` <a id="method-i--3D-3D"></a> <a id="==-instance_method"></a>
Not documented.

### `hash()` <a id="method-i-hash"></a> <a id="hash-instance_method"></a>
Not documented.

### `initialize(tx_hash:, tx_pos:, satoshis: = nil, value: = nil, height: = nil)` <a id="method-i-initialize"></a> <a id="initialize-instance_method"></a>
- **@param** `tx_hash` [String] transaction ID
- **@param** `tx_pos` [Integer] output index
- **@param** `satoshis` [Integer] output value in satoshis (accepts +value+ as alias)
- **@param** `height` [Integer, nil] block height (0 or nil = unconfirmed)
- **@raise** [ArgumentError]
- **@return** [UTXO] a new instance of UTXO
