Class: Runar::SDK::TerminalOutput

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

Overview

Specification for an exact output in a terminal method call.

Terminal methods verify output structure on-chain via extractOutputHash(). The transaction is built with only the contract UTXO as input and no change output — the fee comes from the contract balance.

Instance Attribute Summary collapse

Instance Attribute Details

#satoshisObject

Returns the value of attribute satoshis

Returns:

  • (Object)

    the current value of satoshis



171
172
173
# File 'lib/runar/sdk/types.rb', line 171

def satoshis
  @satoshis
end

#script_hexObject

Returns the value of attribute script_hex

Returns:

  • (Object)

    the current value of script_hex



171
172
173
# File 'lib/runar/sdk/types.rb', line 171

def script_hex
  @script_hex
end