Function createAccountObject

  • Creates an instance of the Account interface

    Parameters

    • connection: Connection

      a connection to the blockchain where this account is registered

    • accountId: BufferId

      the id of the account

    Returns Account