- Openclerk\Currencies\ReceivedCurrency
interface Openclerk\Currencies \ ReceivedCurrency
- All implemented interfaces:
- Currency, AddressableCurrency
- All known implementing classes:
- Bitcoin, Blackcoin, Darkcoin, Digitalcoin, Dogecoin, Feathercoin, Ixcoin, Litecoin, Megacoin, Namecoin, Netcoin, NuBits, NuShares, Nxt, Peercoin, Primecoin, Reddcoin, Terracoin, Vericoin, Vertcoin, Viacoin, Worldcoin
A "ReceivedCurrency" is a AddressableCurrency where we can obtain received balances for a given account identifier.
This is the base interface; other interfaces will provide additional functionality as necessary. (from Currency)
- See:
Method Summary
Name | Description |
---|---|
getReceived($id, Logger $logger) | Get the received account balance of the given account. This method blocks until the balance has been obtained. |
public function getReceived($id, Logger $logger)
Get the received account balance of the given account. This method blocks until the balance has been obtained.
- Parameters:
$logger
- a logger to log info/error messages to- Throws:
BalanceException if something happened and the balance could not be obtained