Stablecoin Gas Fee Abstraction: How Paymasters Hide Blockchain Costs from Users
How fee abstraction and paymaster contracts let users pay stablecoin transfer fees in stablecoins instead of native tokens like ETH or SOL.
A user holds $500 in USDC on Base. They want to send $50 to a friend. But the transfer fails because they don't have any ETH to pay for gas. They now need to find an exchange, buy a fraction of ETH, bridge it to Base, wait for confirmation, and then retry the transfer. Most users never make it past this step. This is the gas fee problem, and it is one of the biggest barriers to stablecoin adoption.
Fee abstraction is the set of techniques that eliminate this friction. The goal: let users pay transaction fees in the same token they are already holding, or hide fees entirely. The most common mechanism is the paymaster, a smart contract or service that pays gas on behalf of users and recoups the cost through other means.
Why Gas Fees Break Stablecoin UX
Every blockchain charges transaction fees in its native token. Ethereum requires ETH. Solana requires SOL. Avalanche requires AVAX. This creates a bootstrapping problem: before a user can do anything with their stablecoins, they must first acquire a completely separate asset just to pay for the privilege of moving the one they already own.
For users coming from traditional finance, this makes no sense. When you send dollars through Venmo or Zelle, you don't need to first buy a special "network token" to authorize the transfer. The fee (if any) comes out of the same balance. The two-token requirement is an artifact of how blockchains were designed, not a fundamental necessity.
The impact on conversion is severe. Wallet developers report that users abandon onboarding flows when confronted with the need to acquire a gas token. Each additional step (find an exchange, complete KYC, purchase ETH, transfer to wallet) compounds drop-off rates. For stablecoin applications targeting mainstream users (payroll, remittances, merchant payments), this friction is disqualifying.
The core contradiction: Stablecoins are supposed to make crypto feel like regular money. But the gas token requirement immediately reminds users that they are interacting with a blockchain, not a payment app.
How Paymasters Work on Ethereum
The primary solution on Ethereum and EVM chains is the paymaster, introduced as part of ERC-4337 account abstraction. A paymaster is a smart contract that intercepts a user's operation and pays the gas fee on their behalf. The user never needs to hold ETH.
The ERC-4337 Flow
Under account abstraction, users submit UserOperations instead of standard transactions. A UserOperation includes an optional paymasterAndData field. When this field is populated, the EntryPoint contract routes gas payment to the specified paymaster rather than debiting the sender's ETH balance.
- The user's smart wallet constructs a UserOperation (for example, "transfer 50 USDC to Alice")
- The wallet attaches paymaster data, identifying which paymaster should cover gas
- A bundler picks up the UserOperation and submits it to the EntryPoint contract
- The EntryPoint calls the paymaster's
validatePaymasterUserOpfunction, which checks the paymaster's policy (is this user eligible? is this operation allowed?) - If approved, the paymaster's ETH deposit at the EntryPoint covers the gas cost
- After execution, the paymaster's
postOpfunction runs, handling accounting: refunding unused gas, collecting an ERC-20 fee from the user, or logging the sponsorship
Two Paymaster Models
Paymaster implementations fall into two categories, each with distinct economics.
| Model | How It Works | Who Pays | Use Case |
|---|---|---|---|
| Verifying (Sponsorship) | App backend signs an off-chain approval; paymaster checks the signature on-chain | The application or protocol | Onboarding, promotional campaigns, free-tier usage |
| Token (ERC-20) | Paymaster accepts an ERC-20 token (USDC, USDT) in lieu of ETH, using a price oracle for conversion | The user, in stablecoins | Ongoing usage where the user expects to pay a fee |
Verifying paymasters are simpler: the app decides who gets sponsored gas and signs an off-chain approval. Token paymasters are more complex because they require accurate exchange-rate data. As Chainlink has noted, converting ERC-20 fees to native gas costs requires tamper-proof price feeds. A stale or manipulated oracle could let users underpay or cause the paymaster to lose money.
EIP-7702 and Native Account Abstraction
The Pectra upgrade (May 2025) introduced EIP-7702, which lets ordinary externally owned accounts (EOAs) temporarily delegate execution to a smart contract. This means gas sponsorship no longer requires the user to have a smart contract wallet: any existing Ethereum address can benefit from a third-party fee sponsor. EIP-7702 complements ERC-4337 rather than replacing it, eliminating the requirement that users first migrate to a smart account before they can use fee abstraction.
How Fee Payers Work on Solana
Solana takes a different architectural approach. Instead of a separate EntryPoint contract and UserOperation mempool, Solana transactions natively support a fee_payer field: any account that co-signs the transaction can pay the SOL fee. This makes gasless transactions possible without protocol-level changes like ERC-4337.
The Relayer Pattern
The standard Solana approach uses a relayer (sometimes called a fee payer service). The flow works as follows:
- The user constructs their SPL token transfer (for example, send 50 USDC)
- The app appends an additional instruction: a small SPL token transfer from the user to the relayer, covering the equivalent of the SOL fee
- The relayer quotes the fee in the stablecoin's base units, and the user signs the combined transaction
- The relayer co-signs as fee payer (covering the SOL cost) and broadcasts the transaction
Projects like Octane (originally from Solana Labs, now maintained by Anza) pioneered this pattern as an open-source gasless relayer. Kora and Candide have built managed paymaster services on top of similar architecture, providing RPC endpoints that handle fee quoting, co-signing, and broadcasting.
A subtlety: when the user sends to a recipient who doesn't yet have a token account for that SPL mint, the relayer must also cover the rent for creating the Associated Token Account (currently 0.00203928 SOL). This rent cost gets folded into the fee the user pays in stablecoins.
Solana's advantage: Because fee payer support is native to the transaction format, Solana doesn't need a separate infrastructure layer (bundlers, EntryPoint contracts) for gas abstraction. The tradeoff is less standardization: each relayer implements its own policy engine and fee schedule.
L2-Native Approaches
Several Layer 2 networks and rollups have built fee abstraction directly into their execution environment rather than relying on application-level paymasters.
Circle Paymaster
Circle's Paymaster lets users pay gas fees in USDC on supported chains including Arbitrum, Base, Ethereum, Optimism, Polygon, and Avalanche. Circle charges a 10% surcharge on the gas cost for each sponsored transaction. The surcharge was initially waived through June 2025. After the Pectra upgrade, Circle expanded Paymaster support to EOAs via EIP-7702, removing the requirement for users to hold smart contract wallets.
Coinbase and USDC Gasless Sends
Coinbase has integrated gasless USDC transfers on Base using EIP-3009 (transferWithAuthorization), where a relayer pays the ETH gas and the user signs an off-chain authorization. The original USDC 2.0 upgrade (2020) introduced the permit and transferWithAuthorization functions that made this pattern possible, allowing fee delegation without requiring the user to hold ETH.
Protocol-Level Fee Tokens
Some chains go further by accepting multiple tokens for gas natively at the protocol level. This approach eliminates paymasters entirely: the chain's fee market directly prices transactions in whichever token the user holds. The tradeoff is complexity in the fee market mechanism and potential fragmentation of the chain's economic security model.
Paymaster Infrastructure Providers
A growing ecosystem of infrastructure companies provides managed paymaster services, handling the complexity of gas sponsorship so application developers don't have to run their own.
| Provider | Approach | Key Features |
|---|---|---|
| Pimlico | Modular infrastructure (bundler + paymaster) | permissionless.js library, supports multiple smart account implementations (Safe, Kernel, Biconomy, SimpleAccount), acquired Stackup |
| Biconomy | Full-stack (smart accounts + bundler + paymaster) | Turnkey SDK with modular smart accounts, dashboard for sponsorship policy management |
| ZeroDev | Kernel smart account ecosystem | ERC-20 gas payment in USDC, granular policy controls (per-project, per-wallet, per-contract rate limits) |
| Circle Paymaster | USDC-native gas payment | Pays gas in USDC with 10% surcharge, supports EOAs via EIP-7702, multi-chain |
The provider landscape consolidated in 2025 when Pimlico acquired Stackup, migrating Stackup's developer and startup tier customers onto Pimlico's infrastructure. The trend is toward fewer, more comprehensive platforms rather than point solutions.
The Business Model: Who Actually Pays?
Gas doesn't disappear with fee abstraction: someone still pays the validators. The question is who, and how they recoup the cost.
Sponsorship Model
The application covers gas as a cost of doing business, similar to how Venmo absorbs ACH transfer costs. This works for apps with strong unit economics (exchanges earning on spread, lending protocols earning on interest) where the gas cost per user is small relative to lifetime revenue. Sponsorship policies typically cap spending by total gas amount, request count per time window, or gas price threshold to prevent abuse.
Fee-in-Token Model
The user pays the gas equivalent in a stablecoin. A token paymaster converts the stablecoin fee to ETH at the current exchange rate, pocketing a small spread (Circle's 10% surcharge is representative). The user sees a predictable fee denominated in dollars rather than a volatile gas price denominated in ETH. This model is sustainable because the paymaster operator earns revenue from the conversion spread.
Hybrid Model
Many applications sponsor gas for the first N transactions (onboarding) and then switch to fee-in-token for ongoing usage. This balances acquisition cost against long-term sustainability. Policy engines from providers like ZeroDev support this natively, with per-wallet rate limits that transition from sponsored to paid after a threshold.
UX Comparison: With and Without Fee Abstraction
The difference in user experience is dramatic. Consider a user who has just received $200 in USDC on Base and wants to send $50 to a friend.
| Step | Without Fee Abstraction | With Fee Abstraction |
|---|---|---|
| 1 | User initiates USDC transfer | User initiates USDC transfer |
| 2 | Wallet displays "insufficient ETH for gas" error | Wallet displays fee: "$0.002 in USDC" |
| 3 | User must find an exchange or on-ramp to buy ETH | User confirms the transaction |
| 4 | User completes KYC if new to the exchange | Transfer completes |
| 5 | User purchases ETH and waits for deposit | |
| 6 | User bridges or transfers ETH to their Base wallet | |
| 7 | User retries the original USDC transfer | |
| 8 | Transfer completes |
The difference is seven steps versus three. And each additional step is a point where the user can abandon the flow. For applications targeting non-crypto-native users (remittance recipients, gig workers receiving stablecoin payroll, merchants accepting stablecoin payments), the version without fee abstraction is functionally unusable.
Tradeoffs and Risks
Fee abstraction improves UX, but it introduces new trust assumptions and attack surfaces that developers must understand.
Paymaster Centralization
Most paymaster infrastructure today is operated by a small number of providers. If a paymaster goes down, users of applications that depend on it cannot transact (unless they have ETH as a fallback). This creates a single point of failure that contradicts the decentralization properties that blockchains are designed to provide.
Gas Griefing and Deposit Draining
A paymaster that sponsors transactions without adequate validation can be drained. Attackers can submit operations that consume maximum gas while accomplishing nothing, depleting the paymaster's ETH deposit at the EntryPoint. As security auditors at OtterSec have documented, flawed paymaster designs can expose deposited ETH to exploitation or griefing. Effective paymasters require per-user rate limits, calldata validation, and gas caps.
Oracle and Conversion Risk
Token paymasters that accept stablecoins need to convert between the stablecoin price and the native gas token price. If the price oracle is stale, manipulated, or delayed, the paymaster may systematically underprice gas and lose money, or overprice gas and overcharge users. This is especially risky during periods of high gas price volatility.
Regulatory Considerations
Paymasters that charge fees for gas conversion may face money transmitter classification in some jurisdictions. The paymaster receives one token (USDC) and effectively provides a service denominated in another (ETH). Whether this constitutes a regulated exchange depends on the jurisdiction and the specific implementation.
How Spark Eliminates the Gas Problem Entirely
While EVM chains and Solana retrofit fee abstraction through paymasters and relayers, Spark takes a fundamentally different approach: there is no separate gas token to abstract away in the first place.
On Spark, transfer fees are deducted directly from the payment amount. When a user sends 50 USDB (the dollar stablecoin on Spark), the fee comes out of those 50 USDB. When they send sats, the fee comes out of the sats. There is no ETH to acquire, no SOL to bridge, no paymaster to trust, and no oracle to convert between token prices. The user experience matches what people expect from traditional payment apps: the fee is denominated in the same currency as the transfer.
This design avoids the entire category of problems that paymasters solve on other chains:
- No paymaster centralization risk (there is no paymaster)
- No oracle or conversion risk (fees are in the same denomination)
- No gas griefing surface (no ETH deposit to drain)
- No onboarding friction (users never encounter a "gas token" concept)
Wallets built on Spark, like General Bread, deliver this experience today: users send and receive Bitcoin and USDB without ever encountering a gas fee dialog. For developers building stablecoin applications, Spark's SDK provides this fee model out of the box, with no paymaster integration, bundler configuration, or oracle dependency required.
Design principle: The best fee abstraction is not needing abstraction at all. When the protocol natively denominates fees in the transfer currency, the entire paymaster infrastructure layer becomes unnecessary.
What Comes Next
Fee abstraction is converging from multiple directions. ERC-4337 brought paymasters to Ethereum. EIP-7702 extended gas sponsorship to EOAs. Solana is standardizing its relayer pattern through community SIPs. Circle and Coinbase are making USDC transfers gasless on L2s. And protocols like Spark are proving that the cleanest solution is to design the fee model correctly from the start.
For developers choosing where to build stablecoin applications, the question is no longer whether to support fee abstraction, but which approach fits their architecture. Applications building on EVM chains will need paymaster infrastructure. Applications building on Solana will need relayer services. Applications building on Spark will not need either.
To understand how account abstraction works at the protocol level, see our deep dive on ERC-4337 and the account abstraction stack. For a comparison of gasless paymaster transaction design patterns across chains, that article covers implementation details for developers. You can also explore our fee abstraction glossary entry for a concise definition.
This article is for educational purposes only. It does not constitute financial or investment advice. Bitcoin and Layer 2 protocols involve technical and financial risk. Always do your own research and understand the tradeoffs before using any protocol.

