When using Privy’s server-side SDKs to sign transactions, you can use the authorization context to
automatically sign requests. Learn more about signing on the
server.
- React
- React Native
- Swift
- Android
- Unity
- Flutter
- NodeJS
- NodeJS (server-auth)
- Java
- Rust
- REST API
To send a transaction from a wallet using the React SDK, use the
signTransaction method from the useSignTransaction hook:Usage
Parameters
The details of the transaction to sign.
The options for the UI of the send transaction modal. Learn
more.
The configuration for funding the wallet.
The address of the wallet to use for signing the transaction. Recommended when working with
external wallets to ensure reliable functionality. If not provided, the first wallet will be
used.
Returns
The signed transaction hash.

