Paymaster
A paymaster is a blockchain entity that sponsors transaction fees, enabling users to execute transactions without paying gas fees directly, often used in gasless transactions.
What Is a Paymaster?
A paymaster is a smart contract that pays the gas fee of a transaction on behalf of the user. The term comes from account abstraction on Ethereum (ERC-4337), where it lets a smart-contract account transact without holding ETH.
In that design the user signs a user operation instead of a normal transaction. A bundler collects such operations and submits them through a shared contract called the EntryPoint. If an operation names a paymaster, the EntryPoint asks that contract whether it agrees to pay and charges the gas to the paymaster's deposit, not to the user's account.
Paymasters are used in two main ways. An app can sponsor fees so that new users can act without first buying ETH. Or the paymaster accepts payment in another token, such as a stablecoin, and settles the gas in ETH itself. Each paymaster sets its own rules: which users, which contracts, how much.
For someone holding their own keys, a paymaster changes who pays, not who authorises. The operation must still be signed by the account's key, which can sit on a hardware wallet. Sponsorship is a service that can be withdrawn, and a paymaster that takes tokens sets its own exchange rate, so the convenience has a price.
Real-World Examples
Example 1: A game gives each new player a smart account and sponsors the gas for their first actions through a paymaster, so the player never has to buy ETH to get started.
Example 2: A user holds only USDC in a smart account on a layer 2 network. A paymaster takes a small amount of USDC and pays the gas in ETH; the user approves the operation with the owner key kept on a hardware wallet.
Ready to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.