Paymaster
A contract that pays transaction fees for a user, so the user needs no gas token.
Basically
A contract that pays the network fee for a user's transaction.
Key Takeaways
- Paymasters let users transact without holding the gas token.
- They can charge in another token, sponsor fees, or gate on an allowlist.
- On account-abstraction chains, the paymaster is part of the user operation flow.
How It Works
In an account abstraction setup, a user operation names a paymaster. The bundler asks that contract whether it will cover the fee, and the contract's deposit pays the block builder.
Sponsorship can be unconditional, per user, per token or per contract call.
Where It Helps
Stablecoin payments: a user holding only USDC can pay without buying the native token first. The same pattern serves onboarding gas and subscription renewals.
It also makes agent payments practical, since an agent can be funded in one token and still operate.
Costs and Risks
Paymasters tie up capital in deposits and expose the sponsor to griefing if limits are missing.
A badly scoped sponsorship policy is a free faucet, and a paymaster is a central point that can refuse a payment.