addSignature
Adds a signature of the client user to a transaction
Import
Parameters
transaction
Transaction | VersionedTransaction
- The transaction to add the signature to
Returns
Promise<Transaction | VersionedTransaction >
The transaction with the signature added