Package io.vertigo.audit.ledger
Interface LedgerManager
- All Superinterfaces:
io.vertigo.core.node.component.Component,io.vertigo.core.node.component.CoreComponent,io.vertigo.core.node.component.Manager
- All Known Implementing Classes:
LedgerManagerImpl
public interface LedgerManager
extends io.vertigo.core.node.component.Manager
-
Method Summary
Modifier and TypeMethodDescriptionGets the current balance of the walletgetWalletBalance(LedgerAddress ledgerAddress) Gets the current balance of the provided addressSends data message on the ledger.voidsendDataAsync(String data, Runnable callback) Sends data message on the ledger asynchronously with a callback.
-
Method Details
-
sendData
Sends data message on the ledger.- Parameters:
data-
-
sendDataAsync
Sends data message on the ledger asynchronously with a callback.- Parameters:
data-
-
getWalletBalance
Gets the current balance of the provided address- Parameters:
ledgerAddress-
-
getMyWalletBalance
BigInteger getMyWalletBalance()Gets the current balance of the wallet
-