WalletAdapter: {
    publicKey: Web3JsPublicKey | null;
    signAllTransactions?: (<T>(transactions: T[]) => Promise<T[]>);
    signMessage?: ((message: Uint8Array) => Promise<Uint8Array>);
    signTransaction?: (<T>(transaction: T) => Promise<T>);
}

Type declaration

  • publicKey: Web3JsPublicKey | null
  • Optional signAllTransactions?: (<T>(transactions: T[]) => Promise<T[]>)
      • <T>(transactions: T[]): Promise<T[]>
      • Type Parameters

        • T extends Web3JsTransactionOrVersionedTransaction

        Parameters

        • transactions: T[]

        Returns Promise<T[]>

  • Optional signMessage?: ((message: Uint8Array) => Promise<Uint8Array>)
      • (message: Uint8Array): Promise<Uint8Array>
      • Parameters

        • message: Uint8Array

        Returns Promise<Uint8Array>

  • Optional signTransaction?: (<T>(transaction: T) => Promise<T>)
      • <T>(transaction: T): Promise<T>
      • Type Parameters

        • T extends Web3JsTransactionOrVersionedTransaction

        Parameters

        • transaction: T

        Returns Promise<T>

Generated using TypeDoc