Class: Counterparty::OrderMatchExpiration

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

Overview

An object that describes the expiration of an order 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, 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

#block_indexObject

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



690
691
692
# File 'lib/counterparty/resources.rb', line 690

def block_index
  @block_index
end

#order_match_idObject

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



680
681
682
# File 'lib/counterparty/resources.rb', line 680

def order_match_id
  @order_match_id
end

#tx0_addressObject

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



683
684
685
# File 'lib/counterparty/resources.rb', line 683

def tx0_address
  @tx0_address
end

#tx1_addressObject

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



686
687
688
# File 'lib/counterparty/resources.rb', line 686

def tx1_address
  @tx1_address
end