Class: Counterparty::Issuance
- Inherits:
-
CounterResource
- Object
- CounterResource
- Counterparty::Issuance
- Defined in:
- lib/counterparty/resources.rb
Overview
An object that describes a specific occurance of a user defined asset being issued, or re-issued
Instance Attribute Summary collapse
-
#asset ⇒ Object
(string): The asset being issued, or re-issued.
-
#block_index ⇒ Object
(integer): The block index (block number in the block chain).
-
#description ⇒ Object
(string): This is used when creating an issuance, and indicates the destination address of the asset.
-
#divisible ⇒ Object
(boolean): Whether or not the asset is divisible (must agree with previous issuances of the asset, if there are any).
-
#issuer ⇒ Object
issuer (string):.
-
#quantity ⇒ Object
(integer): The quantity of the specified asset being issued.
-
#source ⇒ Object
(string): This is used when creating an issuance, and indicates the source address of the asset.
-
#transfer ⇒ Object
(boolean): Whether or not this objects marks the transfer of ownership rights for the specified quantity of this asset.
-
#transfer_destination ⇒ Object
(string): This is used when creating an issuance transfer, and indicates the destination address of the asset.
-
#tx_hash ⇒ Object
(string): The transaction hash.
-
#tx_index ⇒ Object
(integer): The transaction index.
-
#validity ⇒ Object
(string): Set to “valid” if a valid issuance.
Attributes inherited from CounterResource
#allow_unconfirmed_inputs, #encoding, #fee, #fee_per_kb, #pubkey, #result_attributes
Method Summary
Methods inherited from CounterResource
#==, api_name, find, #initialize, #save!, to_create_request, to_do_request, to_get_request, #to_raw_tx, #to_signed_tx
Constructor Details
This class inherits a constructor from Counterparty::CounterResource
Instance Attribute Details
#asset ⇒ Object
(string): The asset being issued, or re-issued
389 390 391 |
# File 'lib/counterparty/resources.rb', line 389 def asset @asset end |
#block_index ⇒ Object
(integer): The block index (block number in the block chain)
386 387 388 |
# File 'lib/counterparty/resources.rb', line 386 def block_index @block_index end |
#description ⇒ Object
(string): This is used when creating an issuance, and indicates the destination address of the asset
415 416 417 |
# File 'lib/counterparty/resources.rb', line 415 def description @description end |
#divisible ⇒ Object
(boolean): Whether or not the asset is divisible (must agree with previous issuances of the asset, if there are any)
396 397 398 |
# File 'lib/counterparty/resources.rb', line 396 def divisible @divisible end |
#issuer ⇒ Object
issuer (string):
399 400 401 |
# File 'lib/counterparty/resources.rb', line 399 def issuer @issuer end |
#quantity ⇒ Object
(integer): The quantity of the specified asset being issued
392 393 394 |
# File 'lib/counterparty/resources.rb', line 392 def quantity @quantity end |
#source ⇒ Object
(string): This is used when creating an issuance, and indicates the source address of the asset
411 412 413 |
# File 'lib/counterparty/resources.rb', line 411 def source @source end |
#transfer ⇒ Object
(boolean): Whether or not this objects marks the transfer of ownership rights for the specified quantity of this asset
403 404 405 |
# File 'lib/counterparty/resources.rb', line 403 def transfer @transfer end |
#transfer_destination ⇒ Object
(string): This is used when creating an issuance transfer, and indicates the destination address of the asset
419 420 421 |
# File 'lib/counterparty/resources.rb', line 419 def transfer_destination @transfer_destination end |
#tx_hash ⇒ Object
(string): The transaction hash
383 384 385 |
# File 'lib/counterparty/resources.rb', line 383 def tx_hash @tx_hash end |
#tx_index ⇒ Object
(integer): The transaction index
380 381 382 |
# File 'lib/counterparty/resources.rb', line 380 def tx_index @tx_index end |
#validity ⇒ Object
(string): Set to “valid” if a valid issuance. Any other setting signifies an invalid/improper issuance
407 408 409 |
# File 'lib/counterparty/resources.rb', line 407 def validity @validity end |