abstract class Cryptocurrency\Services \ AbstractAbeService

All known direct subclasses:
DarkcoinExplorer,Dogechain,IxcoinExplorer,LitecoinExplorer,NamecoinExplorer,NetcoinExplorer

Implements some common HTML stripping functionality for various services. (from AbstractHTMLService)


Method Summary

Name Description
__construct(Currency $currency, $args)
foundNoTransactions(Logger $logger) No transactions were found; possibly throw a BalanceException.
getBalance($address, Logger $logger, $is_received = false)
getBalanceAtBlock($address, $block = null, Logger $logger, $is_received = false)
getBlockCount(Logger $logger)
getDifficulty(Logger $logger)

Inherited Method Summary

Name Description
stripHTML($html) (from AbstractHTMLService)

public function __construct(Currency $currency, $args)


public function foundNoTransactions(Logger $logger)

No transactions were found; possibly throw a BalanceException.


public function getBalance($address, Logger $logger, $is_received = false)

Defaults:
is_received = false
Throws:
BalanceException if something happened and the balance could not be obtained.

public function getBalanceAtBlock($address, $block = null, Logger $logger, $is_received = false)

Parameters:
$block - may be null
Defaults:
block = null
is_received = false
Throws:
BalanceException if something happened and the balance could not be obtained.

public function getBlockCount(Logger $logger)


public function getDifficulty(Logger $logger)