Class: Runar::SDK::TxInput
- Inherits:
-
Struct
- Object
- Struct
- Runar::SDK::TxInput
- Defined in:
- lib/runar/sdk/types.rb
Overview
A transaction input.
Instance Attribute Summary collapse
-
#output_index ⇒ Object
Returns the value of attribute output_index.
-
#script ⇒ Object
Returns the value of attribute script.
-
#sequence ⇒ Object
Returns the value of attribute sequence.
-
#txid ⇒ Object
Returns the value of attribute txid.
Instance Method Summary collapse
-
#initialize(txid:, output_index:, script:, sequence: 0xFFFFFFFF) ⇒ TxInput
constructor
A new instance of TxInput.
Constructor Details
#initialize(txid:, output_index:, script:, sequence: 0xFFFFFFFF) ⇒ TxInput
Returns a new instance of TxInput.
16 17 18 |
# File 'lib/runar/sdk/types.rb', line 16 def initialize(txid:, output_index:, script:, sequence: 0xFFFFFFFF) super end |
Instance Attribute Details
#output_index ⇒ Object
Returns the value of attribute output_index
15 16 17 |
# File 'lib/runar/sdk/types.rb', line 15 def output_index @output_index end |
#script ⇒ Object
Returns the value of attribute script
15 16 17 |
# File 'lib/runar/sdk/types.rb', line 15 def script @script end |
#sequence ⇒ Object
Returns the value of attribute sequence
15 16 17 |
# File 'lib/runar/sdk/types.rb', line 15 def sequence @sequence end |
#txid ⇒ Object
Returns the value of attribute txid
15 16 17 |
# File 'lib/runar/sdk/types.rb', line 15 def txid @txid end |