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
#==, 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_index ⇒ Object
(integer): The block index (block number in the block chain)
213 214 215 |
# File 'lib/counterparty/resources.rb', line 213 def block_index @block_index end |
#order_match_id ⇒ Object
(string):
219 220 221 |
# File 'lib/counterparty/resources.rb', line 219 def order_match_id @order_match_id end |
#source ⇒ Object
source (string):
216 217 218 |
# File 'lib/counterparty/resources.rb', line 216 def source @source end |
#tx_hash ⇒ Object
(string): The transaction hash
210 211 212 |
# File 'lib/counterparty/resources.rb', line 210 def tx_hash @tx_hash end |
#tx_index ⇒ Object
(integer): The transaction index
207 208 209 |
# File 'lib/counterparty/resources.rb', line 207 def tx_index @tx_index end |
#validity ⇒ Object
(string): Set to “valid” if valid
222 223 224 |
# File 'lib/counterparty/resources.rb', line 222 def validity @validity end |
Class Method Details
.api_name ⇒ Object
224 |
# File 'lib/counterparty/resources.rb', line 224 def self.api_name; 'btcpays'; end |