To sponsor gas fees for transactions on Solana, see our guide here.
Use the
signTransaction
method exported from the useSignTransaction
hook to sign a transaction with a Solana wallet.Usage
Parameters
The encoded transaction to be signed.
The Solana wallet to use for signing the transaction.
Type of all Solana chains supported by Privy.
Additional options for signing the transaction.
Response
The signed transaction that can be sent to the network.