Sponsored transactions allow one account (sponsor) to pay gas fees for transactions executed by another account (user).Documentation Index
Fetch the complete documentation index at: https://mintlify.com/mystenlabs/sui/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
- User creates and signs transaction
- Sponsor adds gas payment and signs
- Transaction executes with sponsor paying fees
Implementation
TypeScript
Use Cases
- Onboarding: New users without SUI tokens
- Gaming: Players don’t need crypto
- Enterprise: Company pays fees for employees
- Gasless dApps: Better UX
Benefits
- Improved user experience
- Lower barrier to entry
- Flexible fee delegation
- Enterprise-friendly
Considerations
- Sponsor needs sufficient SUI balance
- Both parties must sign transaction
- Sponsor should validate transactions
- Consider rate limiting