public final class FakeLedgerPlugin extends Object implements LedgerPlugin
| Constructor and Description |
|---|
FakeLedgerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getMyWalletBalance()
Get the current balance of the wallet
|
BigInteger |
getWalletBalance(LedgerAddress ledgerAddress)
Get the current balance of the provided address
|
void |
sendData(String data)
Sent data to the default address on the ledger.
|
public BigInteger getMyWalletBalance()
LedgerPlugingetMyWalletBalance in interface LedgerPluginpublic BigInteger getWalletBalance(LedgerAddress ledgerAddress)
LedgerPlugingetWalletBalance in interface LedgerPluginpublic void sendData(String data)
LedgerPluginsendData in interface LedgerPlugindata - data in clear to storeCopyright © 2019. All rights reserved.