Interface LedgerPlugin

  • All Superinterfaces:
    io.vertigo.core.node.component.CoreComponent, io.vertigo.core.node.component.Plugin
    All Known Implementing Classes:
    EthereumLedgerPlugin, FakeLedgerPlugin

    public interface LedgerPlugin
    extends io.vertigo.core.node.component.Plugin
    Author:
    xdurand
    • Method Detail

      • sendData

        void sendData​(String data)
        Sent data to the default address on the ledger.
        Parameters:
        data - data in clear to store
      • getWalletBalance

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

        BigInteger getMyWalletBalance()
        Get the current balance of the wallet
        Returns:
        the current balance of the wallet