Class: Chain::Transaction::Input
- Inherits:
-
ResponseObject
- Object
- ResponseObject
- Chain::Transaction::Input
- Defined in:
- lib/chain/transaction.rb
Instance Attribute Summary collapse
-
#account_alias ⇒ String
readonly
The alias of the account transferring the asset (possibly null if the input is an issuance or an unspent output is specified).
-
#account_id ⇒ String
readonly
The id of the account transferring the asset (possibly null if the input is an issuance or an unspent output is specified).
-
#account_tags ⇒ String
readonly
The tags associated with the account (possibly null).
-
#amount ⇒ Integer
readonly
The number of units of the asset being issued or spent.
-
#asset_alias ⇒ String
readonly
The alias of the asset being issued or spent (possibly null).
-
#asset_definition ⇒ Hash
readonly
The definition of the asset being issued or spent (possibly null).
-
#asset_id ⇒ String
readonly
The id of the asset being issued or spent.
-
#asset_is_local ⇒ Boolean
readonly
A flag indicating whether the asset being issued or spent is local.
-
#asset_tags ⇒ Hash
readonly
The tags of the asset being issued or spent (possibly null).
-
#is_local ⇒ Boolean
readonly
A flag indicating if the input is local.
-
#issuance_program ⇒ String
readonly
A program specifying a predicate for issuing an asset (possibly null if input is not an issuance).
-
#reference_data ⇒ Hash
readonly
User specified, unstructured data embedded within an input (possibly null).
-
#spent_output_id ⇒ String
readonly
The id of the output consumed by this input.
-
#type ⇒ String
readonly
The type of the input.
Method Summary
Methods inherited from ResponseObject
#[], #[]=, #initialize, #to_h, #to_json
Constructor Details
This class inherits a constructor from Chain::ResponseObject
Instance Attribute Details
#account_alias ⇒ String (readonly)
The alias of the account transferring the asset (possibly null if the input is an issuance or an unspent output is specified).
177 |
# File 'lib/chain/transaction.rb', line 177 attrib :account_alias |
#account_id ⇒ String (readonly)
The id of the account transferring the asset (possibly null if the input is an issuance or an unspent output is specified).
171 |
# File 'lib/chain/transaction.rb', line 171 attrib :account_id |
#account_tags ⇒ String (readonly)
The tags associated with the account (possibly null).
182 |
# File 'lib/chain/transaction.rb', line 182 attrib :account_tags |
#amount ⇒ Integer (readonly)
The number of units of the asset being issued or spent.
160 |
# File 'lib/chain/transaction.rb', line 160 attrib :amount |
#asset_alias ⇒ String (readonly)
The alias of the asset being issued or spent (possibly null).
140 |
# File 'lib/chain/transaction.rb', line 140 attrib :asset_alias |
#asset_definition ⇒ Hash (readonly)
The definition of the asset being issued or spent (possibly null).
145 |
# File 'lib/chain/transaction.rb', line 145 attrib :asset_definition |
#asset_id ⇒ String (readonly)
The id of the asset being issued or spent.
135 |
# File 'lib/chain/transaction.rb', line 135 attrib :asset_id |
#asset_is_local ⇒ Boolean (readonly)
A flag indicating whether the asset being issued or spent is local.
155 |
# File 'lib/chain/transaction.rb', line 155 attrib :asset_is_local |
#asset_tags ⇒ Hash (readonly)
The tags of the asset being issued or spent (possibly null).
150 |
# File 'lib/chain/transaction.rb', line 150 attrib :asset_tags |
#is_local ⇒ Boolean (readonly)
A flag indicating if the input is local.
199 |
# File 'lib/chain/transaction.rb', line 199 attrib :is_local |
#issuance_program ⇒ String (readonly)
A program specifying a predicate for issuing an asset (possibly null if input is not an issuance).
188 |
# File 'lib/chain/transaction.rb', line 188 attrib :issuance_program |
#reference_data ⇒ Hash (readonly)
User specified, unstructured data embedded within an input (possibly null).
194 |
# File 'lib/chain/transaction.rb', line 194 attrib :reference_data |
#spent_output_id ⇒ String (readonly)
The id of the output consumed by this input. ID is nil if this is an issuance input.
165 |
# File 'lib/chain/transaction.rb', line 165 attrib :spent_output_id |
#type ⇒ String (readonly)
The type of the input.
Possible values are “issue”, “spend”.
130 |
# File 'lib/chain/transaction.rb', line 130 attrib :type |