Solana
Sign a transaction
Use the signTransaction
method on the Solana client to sign a transaction with an Solana wallet.
Usage
Parameters
The ID of the wallet to send the transaction from.
The transaction to sign. This can be either a legacy Transaction or a VersionedTransaction object from @solana/web3.js.
Returns
The signed transaction.
The encoding format for the returned signedTransaction
. Currently, only 'base64'
is supported for Solana.
Was this page helpful?