Class: Counterparty::BTCPay
- Inherits:
-
CounterResource
- Object
- CounterResource
- Counterparty::BTCPay
- 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
-
#block_index ⇒ Object
(integer): The block index (block number in the block chain).
-
#order_match_id ⇒ Object
(string):.
-
#source ⇒ Object
source (string):.
-
#tx_hash ⇒ Object
(string): The transaction hash.
-
#tx_index ⇒ Object
(integer): The transaction index.
-
#validity ⇒ Object
(string): Set to “valid” if valid.
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_index ⇒ Object
(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_id ⇒ Object
(string):
200 201 202 |
# File 'lib/counterparty/resources.rb', line 200 def order_match_id @order_match_id end |
#source ⇒ Object
source (string):
197 198 199 |
# File 'lib/counterparty/resources.rb', line 197 def source @source end |
#tx_hash ⇒ Object
(string): The transaction hash
191 192 193 |
# File 'lib/counterparty/resources.rb', line 191 def tx_hash @tx_hash end |
#tx_index ⇒ Object
(integer): The transaction index
188 189 190 |
# File 'lib/counterparty/resources.rb', line 188 def tx_index @tx_index end |
#validity ⇒ Object
(string): Set to “valid” if valid
203 204 205 |
# File 'lib/counterparty/resources.rb', line 203 def validity @validity end |
Class Method Details
.api_name ⇒ Object
205 |
# File 'lib/counterparty/resources.rb', line 205 def self.api_name; 'btcpays'; end |