Class: Counterparty::OrderExpiration

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

Overview

An object that describes the expiration of an order created by the source address.

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



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

def block_index
  @block_index
end

#order_hashObject

(string): The transaction hash of the order expiriing



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

def order_hash
  @order_hash
end

#order_indexObject

(integer): The transaction index of the order expiring



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

def order_index
  @order_index
end

#sourceObject

(string): The source address that created the order



656
657
658
# File 'lib/counterparty/resources.rb', line 656

def source
  @source
end