Class: Counterparty::BetExpiration
- Inherits:
-
CounterResource
- Object
- CounterResource
- Counterparty::BetExpiration
- Defined in:
- lib/counterparty/resources.rb
Overview
An object that describes the expiration of a bet created by the source address.
Instance Attribute Summary collapse
-
#bet_hash ⇒ Object
bet_hash (string): The transaction hash of the bet expiriing.
-
#bet_index ⇒ Object
(integer): The transaction index of the bet expiring.
-
#block_index ⇒ Object
(integer): The block index (block number in the block chain) when this expiration occurred.
-
#source ⇒ Object
(string): The source address that created the bet.
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
#bet_hash ⇒ Object
bet_hash (string): The transaction hash of the bet expiriing
632 633 634 |
# File 'lib/counterparty/resources.rb', line 632 def bet_hash @bet_hash end |
#bet_index ⇒ Object
(integer): The transaction index of the bet expiring
629 630 631 |
# File 'lib/counterparty/resources.rb', line 629 def bet_index @bet_index end |
#block_index ⇒ Object
(integer): The block index (block number in the block chain) when this expiration occurred
636 637 638 |
# File 'lib/counterparty/resources.rb', line 636 def block_index @block_index end |
#source ⇒ Object
(string): The source address that created the bet
639 640 641 |
# File 'lib/counterparty/resources.rb', line 639 def source @source end |