Wallet class that interacts with the WalletInterface.

Implements

Constructors

Methods

  • Submits a transaction through the wallet.

    Parameters

    • tx: Transaction

      The transaction to submit.

    Returns Promise<TransactionId>

    • The ID of the submitted transaction.
  • Requests a transaction signature from the wallet.

    Parameters

    • tx: Transaction

      The transaction to sign.

    • partialSign: boolean

      Whether to partially sign the transaction.

    Returns Promise<TransactionWitnessSet>

    • The signed transaction.