Class: Counterparty::BetMatchExpiration

Inherits:
CounterResource show all
Defined in:
lib/counterparty/resources.rb

Overview

An object that describes the expiration of a bet match.

Instance Attribute Summary collapse

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

#bet_match_idObject

(integer): The transaction index of the bet match ID (e.g. the concatenation of the tx0 and tx1 hashes)



644
645
646
# File 'lib/counterparty/resources.rb', line 644

def bet_match_id
  @bet_match_id
end

#block_indexObject

(integer): The block index (block number in the block chain) when this expiration occurred



654
655
656
# File 'lib/counterparty/resources.rb', line 654

def block_index
  @block_index
end

#tx0_addressObject

(string): The tx0 (first) address for the bet match



647
648
649
# File 'lib/counterparty/resources.rb', line 647

def tx0_address
  @tx0_address
end

#tx1_addressObject

(string): The tx1 (second) address for the bet match



650
651
652
# File 'lib/counterparty/resources.rb', line 650

def tx1_address
  @tx1_address
end