Class BSV::Network::UTXO ¶
Inherits: Object
Attributes¶
height [R] ¶
Returns the value of attribute height.
satoshis [R] ¶
Returns the value of attribute satoshis.
tx_hash [R] ¶
Returns the value of attribute tx_hash.
tx_pos [R] ¶
Returns the value of attribute tx_pos.
Public Instance Methods¶
==(other) ¶
Not documented.
hash() ¶
Not documented.
initialize(tx_hash:, tx_pos:, satoshis: = nil, value: = nil, height: = nil) ¶
- @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