WalletLike: {
publicKey: web3.PublicKey;
signAllTransactions<T>(transactions) => Promise<T[]>;
signMessage(message) => Promise<Uint8Array>;
signTransaction<T>(transaction) => Promise<T>;
}
Type declaration
-
publicKey: web3.PublicKey
-
signAllTransactions:function
- signAllTransactions<T>(transactions): Promise<T[]>
-
Type Parameters
-
T = Transaction | VersionedTransaction
Returns Promise<T[]>
-
signMessage:function
- signMessage(message): Promise<Uint8Array>
-
Returns Promise<Uint8Array>
-
signTransaction:function
- signTransaction<T>(transaction): Promise<T>
-
Type Parameters
-
T = Transaction | VersionedTransaction
Returns Promise<T>
Represents a Wallet-like object.