Documentation Index
Fetch the complete documentation index at: https://docs.privy.io/llms.txt
Use this file to discover all available pages before exploring further.
This page documents the
useFundWallet hook for Solana wallets. For newer funding integrations,
see Fiat-to-crypto onramps or Bank
deposits.Prompting users to fund wallets
With funding methods enabled for your app, Privy will prompt users to fund their wallets at two points in their experience:- Manually, when you call Privy’s
fundWalletmethod documented below - Automatically, when the user attempts to send a transaction but has insufficient funds
Manually invoking funding
Once you’ve enabled a set of funding methods for your app, to invoke the funding flow, use theuseFundWallet hook from the Privy SDK as follows:

