Wallet: {
publicKey: web3.PublicKey;
signTransaction: (<T>(transaction) => Promise<T>);
signAllTransactions: (<T>(transactions) => Promise<T[]>);
}
Type declaration
-
publicKey: web3.PublicKey
-
signTransaction: (<T>(transaction) => Promise<T>)
-
- <T>(transaction): Promise<T>
-
Type Parameters
-
T extends web3.Transaction | web3.VersionedTransaction
Returns Promise<T>
The signed transaction
-
signAllTransactions: (<T>(transactions) => Promise<T[]>)
-
- <T>(transactions): Promise<T[]>
-
Type Parameters
-
T extends web3.Transaction | web3.VersionedTransaction
Returns Promise<T[]>
The signed transactions
A Solana wallet with a public key and methods to sign transaction.