Gasless transaction
A gasless transaction is a user action where the user does not directly pay the network fee in the chain's native token, because another mechanism sponsors or abstracts that fee.
✦ Key Insight
Gas sponsorship can simplify onboarding and let users interact without first obtaining the chain's native token. It also introduces application, relayer, paymaster, rate-limit, and abuse-prevention considerations.
✕ Common Misconceptions
Gasless does not mean risk-free or universally free. Sponsors can set limits, supported actions, or eligibility rules, and users still need to verify exactly what their signature authorizes.
Detailed Explanation
Aliases and acronyms: Sponsored transaction; gas-sponsored transaction; meta-transaction; fee-sponsored transaction
Plain-English explanation: "Gasless" does not mean the blockchain performs work for free. Someone still pays or accounts for the execution cost. A relayer, application, paymaster, or smart-account system can cover the native gas fee while the user signs an authorization.
Analogy: It is like a business providing prepaid postage: shipping still costs money, but the recipient does not buy the stamp directly.
How it works: The user signs an instruction rather than directly submitting a normal fee-paying transaction. A relayer or account-abstraction component packages and submits the action on-chain, paying the required network fee. The sponsor may absorb the cost or recover it through another token or business model.
FAQs
Q: Who pays for a gasless transaction?
A: A sponsor such as an application, relayer, paymaster, or other infrastructure component pays or arranges the native network fee.
Q: Can gas be paid with a token instead of ETH?
A: Account-abstraction designs can allow an application or paymaster to accept other tokens while arranging the underlying network fee.
Q: Are gasless transactions available everywhere?
A: No. Support depends on the wallet, application, network, and transaction type.
Sources
• Ethereum.org - Sponsoring gas fees
• Ethereum.org - Gasless users with account abstraction
• ERC-4337
In Practice
Dig Deeper
Account Abstraction
Account abstraction is a wallet design that turns the user's account into a programmable smart contract instead of a traditional Externally Owned Account (EOA) controlled by a single private key. On Ethereum it is standardized through ERC-4337, which lets wallets define their own rules for authorization, gas payment, and recovery.
Signature
A cryptographic signature proves that the holder of a private key authorized specific data without revealing the private key itself.
