Class: Counterparty::BetMatchExpiration
- Inherits:
-
CounterResource
- Object
- CounterResource
- Counterparty::BetMatchExpiration
- Defined in:
- lib/counterparty/resources.rb
Overview
An object that describes the expiration of a bet match.
Instance Attribute Summary collapse
-
#bet_match_id ⇒ Object
(integer): The transaction index of the bet match ID (e.g. the concatenation of the tx0 and tx1 hashes).
-
#block_index ⇒ Object
(integer): The block index (block number in the block chain) when this expiration occurred.
-
#tx0_address ⇒ Object
(string): The tx0 (first) address for the bet match.
-
#tx1_address ⇒ Object
(string): The tx1 (second) address for the bet match.
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_match_id ⇒ Object
(integer): The transaction index of the bet match ID (e.g. the concatenation of the tx0 and tx1 hashes)
663 664 665 |
# File 'lib/counterparty/resources.rb', line 663 def bet_match_id @bet_match_id end |
#block_index ⇒ Object
(integer): The block index (block number in the block chain) when this expiration occurred
673 674 675 |
# File 'lib/counterparty/resources.rb', line 673 def block_index @block_index end |
#tx0_address ⇒ Object
(string): The tx0 (first) address for the bet match
666 667 668 |
# File 'lib/counterparty/resources.rb', line 666 def tx0_address @tx0_address end |
#tx1_address ⇒ Object
(string): The tx1 (second) address for the bet match
669 670 671 |
# File 'lib/counterparty/resources.rb', line 669 def tx1_address @tx1_address end |