- Cryptocurrency\Services\AbstractHTMLService
- Cryptocurrency\Services\AbstractCoinplorerService
abstract class Cryptocurrency\Services \ AbstractCoinplorerService
- All known direct subclasses:
- FeathercoinExplorer,PrimecoinExplorer,TerracoinExplorer
Implements some common HTML stripping functionality for various services. (from AbstractHTMLService)
Method Summary
Name | Description |
---|---|
__construct(Currency $currency, $args) | |
getBalance($address, Logger $logger, $is_received = false) | |
getBalanceURL($address) | |
getBlockCount(Logger $logger) | |
getCURLOptions() | Must force TLSv1. If this does not work, make sure you are using CURL 7.34+. |
getDifficulty(Logger $logger) | |
getExplorerName() | |
getExplorerURL() |
Inherited Method Summary
Name | Description |
---|---|
stripHTML($html) | (from AbstractHTMLService) |
public function __construct(Currency $currency, $args)
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 getBalanceURL($address)
public function getBlockCount(Logger $logger)
public function getCURLOptions()
Must force TLSv1. If this does not work, make sure you are using CURL 7.34+.