- App pays
- User pays
Your app covers transaction fees through prepaid credits or postpaid billing. Users
transact without needing to hold ETH or native tokens.
Getting started
1
Set up billing
For prepaid accounts, open Fee sponsorship,
select Add credits, and complete the purchase. These credits also
cover swap provider fee sponsorship when enabled.
Manage credits and automated refills from Billing > Fee
sponsorship.
Prepaid accounts need a saved payment method to sponsor gas on mainnets.For postpaid billing, available on the Enterprise plan, enable postpaid
billing before
configuring sponsorship. Sponsored gas fees appear on the monthly invoice. Prepaid credits
are not required.
2
Enable gas sponsorship in the dashboard
Open Fee sponsorship in the Privy
Dashboard and turn on Sponsor gas fees.
This enables App pays mode for either billing model.
3
Configure chains
Under Supported chains, select the networks where the app will sponsor gas.
Sponsored requests must use a configured chain.
4
Send transaction requests
Apps must use TEE execution in order
to use our native gas sponsorship feature. Learn how to migrate
here!
- Ethereum (React)
- Tempo (React)
- Solana (React)
- Ethereum (REST API)
- Tempo (REST API)
- Ethereum (Node SDK)
- Tempo (Node SDK)
- Solana (REST API)
- Solana (Node SDK)
With the React SDK, use the
useSendTransaction hook with sponsor: true:Using gas sponsorship from other client SDKsThe
sponsor: true parameter is currently supported in the React SDK and server-side
SDKs (REST API, Node, Rust). For other client SDKs (React Native, Swift, Android,
Flutter, Unity), you can achieve gas sponsorship by building the transaction in your
client, then relaying it through your server
with sponsor: true.On-chain signature verification operations such as Permit2 and TransferWithAuthorization are
supported for EIP-7702 upgraded wallets via ERC-1271 signing. Learn how to enable this in the
ERC-1271 signatures guide.
Next steps
Transaction management
Learn how gas-sponsored transactions work and how to track transaction status with webhooks
Security best practices
Protect your application from gas sponsorship abuse with rate limiting and threat mitigation
strategies

