Class: OnChain

Inherits:
Object
  • Object
show all
Defined in:
lib/onchain/block_chain.rb

Overview

We support a number of blockchain API providers, if one goes down we automatically switch over to another.

Each provider has to support the following methods

get_balance(address) get_all_balances([]) send_tx(tx_hex) get_transactions(address)

Defined Under Namespace

Classes: BlockChain, Payments, Sweeper