Class: Counterparty::BTCPay

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

Overview

An object that matches a request to settle an Order Match for which BTC is owed.

Instance Attribute Summary collapse

Attributes inherited from CounterResource

#allow_unconfirmed_inputs, #encoding, #fee, #fee_per_kb, #pubkey, #result_attributes

Class Method Summary collapse

Methods inherited from CounterResource

#==, 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

#block_indexObject

(integer): The block index (block number in the block chain)



194
195
196
# File 'lib/counterparty/resources.rb', line 194

def block_index
  @block_index
end

#order_match_idObject

(string):



200
201
202
# File 'lib/counterparty/resources.rb', line 200

def order_match_id
  @order_match_id
end

#sourceObject

source (string):



197
198
199
# File 'lib/counterparty/resources.rb', line 197

def source
  @source
end

#tx_hashObject

(string): The transaction hash



191
192
193
# File 'lib/counterparty/resources.rb', line 191

def tx_hash
  @tx_hash
end

#tx_indexObject

(integer): The transaction index



188
189
190
# File 'lib/counterparty/resources.rb', line 188

def tx_index
  @tx_index
end

#validityObject

(string): Set to “valid” if valid



203
204
205
# File 'lib/counterparty/resources.rb', line 203

def validity
  @validity
end

Class Method Details

.api_nameObject



205
# File 'lib/counterparty/resources.rb', line 205

def self.api_name; 'btcpays'; end