Class: OpenAssets::Provider::BlockChainProviderBase

Inherits:
Object
  • Object
show all
Defined in:
lib/openassets/provider/block_chain_provider_base.rb

Overview

The base class providing access to the Blockchain.

Direct Known Subclasses

BitcoinCoreProvider

Instance Method Summary collapse

Instance Method Details

#get_transaction(transaction_hash, verbose = 0) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/openassets/provider/block_chain_provider_base.rb', line 11

def get_transaction(transaction_hash, verbose = 0)
  raise NotImplementedError
end

#list_unspent(addresses = [], min = 1, max = 9999999) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/openassets/provider/block_chain_provider_base.rb', line 7

def list_unspent(addresses = [], min = 1 , max = 9999999)
  raise NotImplementedError
end

#sign_transaction(tx) ⇒ Object

Raises:

  • (NotImplementedError)


15
16
17
# File 'lib/openassets/provider/block_chain_provider_base.rb', line 15

def sign_transaction(tx)
  raise NotImplementedError
end