WalletLike: {
    publicKey: web3.PublicKey;
    signAllTransactions<T>(transactions) => Promise<T[]>;
    signMessage(message) => Promise<Uint8Array>;
    signTransaction<T>(transaction) => Promise<T>;
}

Represents a Wallet-like object.

Type declaration

  • publicKey: web3.PublicKey
  • signAllTransactions:function
    • Type Parameters

      • T = Transaction | VersionedTransaction

      Parameters

      • transactions: T[]

      Returns Promise<T[]>

  • signMessage:function
    • Parameters

      • message: Uint8Array

      Returns Promise<Uint8Array>

  • signTransaction:function
    • Type Parameters

      • T = Transaction | VersionedTransaction

      Parameters

      • transaction: T

      Returns Promise<T>

Generated using TypeDoc