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, bitcoin, find, #initialize, #save!, to_create_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
408 409 410 |
# File 'lib/counterparty/resources.rb', line 408 def asset @asset end |
#block_index ⇒ Object
(integer): The block index (block number in the block chain)
405 406 407 |
# File 'lib/counterparty/resources.rb', line 405 def block_index @block_index end |
#description ⇒ Object
(string): This is used when creating an issuance, and indicates the destination address of the asset
434 435 436 |
# File 'lib/counterparty/resources.rb', line 434 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)
415 416 417 |
# File 'lib/counterparty/resources.rb', line 415 def divisible @divisible end |
#issuer ⇒ Object
issuer (string):
418 419 420 |
# File 'lib/counterparty/resources.rb', line 418 def issuer @issuer end |
#quantity ⇒ Object
(integer): The quantity of the specified asset being issued
411 412 413 |
# File 'lib/counterparty/resources.rb', line 411 def quantity @quantity end |
#source ⇒ Object
(string): This is used when creating an issuance, and indicates the source address of the asset
430 431 432 |
# File 'lib/counterparty/resources.rb', line 430 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
422 423 424 |
# File 'lib/counterparty/resources.rb', line 422 def transfer @transfer end |
#transfer_destination ⇒ Object
(string): This is used when creating an issuance transfer, and indicates the destination address of the asset
438 439 440 |
# File 'lib/counterparty/resources.rb', line 438 def transfer_destination @transfer_destination end |
#tx_hash ⇒ Object
(string): The transaction hash
402 403 404 |
# File 'lib/counterparty/resources.rb', line 402 def tx_hash @tx_hash end |
#tx_index ⇒ Object
(integer): The transaction index
399 400 401 |
# File 'lib/counterparty/resources.rb', line 399 def tx_index @tx_index end |
#validity ⇒ Object
(string): Set to “valid” if a valid issuance. Any other setting signifies an invalid/improper issuance
426 427 428 |
# File 'lib/counterparty/resources.rb', line 426 def validity @validity end |