class Blockchain::UnspentOutput

Attributes

confirmations[R]
script[R]
tx_hash[R]
tx_index[R]
tx_output_n[R]
value[R]
value_hex[R]

Public Class Methods

new(o) click to toggle source
# File lib/blockchain/blockexplorer.rb, line 208
def initialize(o)
        @tx_hash = o['tx_hash']
        @tx_index = o['tx_index']
        @tx_output_n = o['tx_output_n']
        @script = o['script']
        @value = o['value']
        @value_hex = o['value_hex']
        @confirmations = o['confirmations']
end