Type alias WalletAdapter

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

Type declaration

  • publicKey: PublicKey | null
  • Optional signMessage?: ((message: Uint8Array) => Promise<Uint8Array>)
      • (message: Uint8Array): Promise<Uint8Array>
      • Parameters

        • message: Uint8Array

        Returns Promise<Uint8Array>

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

        • transaction: Transaction

        Returns Promise<Transaction>

  • Optional signAllTransactions?: ((transactions: Transaction[]) => Promise<Transaction[]>)
      • (transactions: Transaction[]): Promise<Transaction[]>
      • Parameters

        • transactions: Transaction[]

        Returns Promise<Transaction[]>

Generated using TypeDoc