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
Returns Promise<T[]>
-
Optional
signMessage?: ((message: Uint8Array) => Promise<Uint8Array>)
-
- (message: Uint8Array): Promise<Uint8Array>
-
Returns Promise<Uint8Array>
-
Optional
signTransaction?: (<T>(transaction: T) => Promise<T>)
-
- <T>(transaction: T): Promise<T>
-
Type Parameters
-
T extends Web3JsTransactionOrVersionedTransaction
Returns Promise<T>