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 Details

    • sendData

      String sendData(String data)
      Sends data message on the ledger.
      Parameters:
      data -
    • sendDataAsync

      void sendDataAsync(String data, Runnable callback)
      Sends data message on the ledger asynchronously with a callback.
      Parameters:
      data -
    • getWalletBalance

      BigInteger getWalletBalance(LedgerAddress ledgerAddress)
      Gets the current balance of the provided address
      Parameters:
      ledgerAddress -
    • getMyWalletBalance

      BigInteger getMyWalletBalance()
      Gets the current balance of the wallet