Interface Wallet

interface Wallet {
    confirm(unsignedTransactionBytes: string): Promise<string | ConfirmedTransaction>;
    sendEncryptedMessage(args: SendEncryptedMessageArgs): Promise<string | ConfirmedTransaction>;
}

Implemented by

Methods

  • Requests confirmation of a transaction This is the most generic operation

    Parameters

    • unsignedTransactionBytes: string

      The hexadecimal representation of an unsigned transaction You get the unsigned transaction bytes back from the signumjs core method calls, if you do not provide the private signing key.

    Returns Promise<string | ConfirmedTransaction>

    In case of success the confirmed transaction object, or any contextual string.