Back to glossary

Paymaster

Advanced

An ERC-4337 contract that sponsors the gas fees for a UserOperation, allowing the user to pay in ERC-20 tokens or receive completely gasless transactions. Paymasters inspect the UserOperation and agree to reimburse the bundler in ETH if the operation succeeds according to their rules. They are optional; without a paymaster the smart-contract wallet must hold ETH to pay its own gas.