Payment Approaches
There are two ways to enable ERC-20 gas payments with the Gelato Bundler:Direct Payment (Gelato SDK)
Simplest integration using Gelato’s built-in token payment
On-Chain Paymaster
Use third-party paymasters like Pimlico for token payments
When to Use Each Approach
Direct Payment (Recommended)
Use the Gelato Gasless SDK when you want:- Fastest integration - Single SDK handles everything
- Automatic token handling - No manual paymaster setup required
- Gelato-optimized gas costs - Built-in fee optimization
- Simple API - Just specify
payment: token(tokenAddress)
On-Chain Paymaster
Use an on-chain paymaster when you need:- Custom paymaster logic - Specific business rules for gas sponsorship
- Existing paymaster integration - Already using Pimlico, Alchemy, or other providers
Additional Resources
- Sponsor Gas with Gas Tank - Sponsored transactions alternative
- Estimate Gas - Get fee quotes before sending
- Supported Networks - Network availability