Class: Runar::SDK::Utxo

Inherits:
Struct
  • Object
show all
Defined in:
lib/runar/sdk/types.rb

Overview

An unspent transaction output.

Instance Attribute Summary collapse

Instance Attribute Details

#output_indexObject

Returns the value of attribute output_index

Returns:

  • (Object)

    the current value of output_index



12
13
14
# File 'lib/runar/sdk/types.rb', line 12

def output_index
  @output_index
end

#satoshisObject

Returns the value of attribute satoshis

Returns:

  • (Object)

    the current value of satoshis



12
13
14
# File 'lib/runar/sdk/types.rb', line 12

def satoshis
  @satoshis
end

#scriptObject

Returns the value of attribute script

Returns:

  • (Object)

    the current value of script



12
13
14
# File 'lib/runar/sdk/types.rb', line 12

def script
  @script
end

#txidObject

Returns the value of attribute txid

Returns:

  • (Object)

    the current value of txid



12
13
14
# File 'lib/runar/sdk/types.rb', line 12

def txid
  @txid
end