Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Wallet

Generic Wallet interface

This is the most generic wallet interface, for generic wallet operations

see

EasyWallet for a slightly more comfortable interface for most common operations

Hierarchy

  • Wallet

Implemented by

Index

Methods

confirm

  • 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<ConfirmedTransaction | string>

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

sendEncryptedMessage

  • Sends an encrypted P2P message

    Encrypted messages are only readable by sender and receiver. For encryption the so called agreementPrivateKey of Signums key set is used. Encryption has to be done before the transaction bytes can be generated Wallet.confirm cannot be used.

    Parameters

    Returns Promise<ConfirmedTransaction | string>

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