Abstracción de comisiones

Modelo en el que el gas se paga en un token como USDC y no en la moneda nativa.

En palabras simples

Fee abstraction means you do not need a network's native currency to pay transaction fees. You can use another token, or a third party can pay the fee for you.

Lo esencial

  • Fee abstraction removes the need to hold a blockchain's native token just to pay transaction fees. You can pay in stablecoins or other tokens instead.
  • Approaches include paymasters in ERC-4337 account abstraction, protocol-level systems such as Cosmos fee abstraction, and meta-transactions.
  • Spark removes transfer fees entirely rather than abstracting them. Spark-to-Spark transfers use cryptographic key rotation instead of on-chain transactions, so there are no gas fees to abstract away.

What Is Fee Abstraction?

Fee abstraction is a blockchain design pattern that separates transaction fee payments from a network's native token. Most blockchains require the sender to hold the chain's native currency, such as ETH on Ethereum, BTC on Bitcoin or ATOM on Cosmos, to pay execution costs. Fee abstraction removes this requirement, letting you pay fees in alternative tokens or have a third party such as a dApp developer cover them.

The problem is straightforward: if you hold $500 in USDC on Ethereum, you cannot send a single dollar without first acquiring ETH for gas. This creates a frustrating onboarding barrier, especially for newcomers who may not understand why they need two tokens to complete one action. Fee abstraction hides this friction, bringing the blockchain experience closer to traditional payment apps that hide infrastructure costs from the end user.

How It Works

Fee abstraction can be implemented at different layers of the blockchain stack. Each approach converts your preferred token into the native fee currency or sponsors the fee outright.

ERC-4337 Paymasters

The most widely adopted approach on Ethereum uses paymasters, a component of the ERC-4337 account abstraction standard finalised in March 2023. Users submit UserOperations, which are pseudo-transactions, to an alternative mempool. Bundlers package these into on-chain transactions routed through a singleton EntryPoint contract, which calls the paymaster to handle fee payment.

Paymasters come in two types. Sponsoring paymasters cover fees, while token paymasters accept fee payment in tokens.

ERC-4337 accounts executed over 103 million UserOperations in 2024, a 12x increase from the previous year. Roughly 87% of these used paymasters, showing that fee abstraction is the primary driver of account abstraction adoption.

Protocol-Level Fee Abstraction

Some blockchains build fee abstraction directly into the protocol rather than handling it at the application layer. Celo and Cosmos demonstrate this approach.

Meta-Transactions (ERC-2771)

ERC-2771 meta-transactions are an earlier approach that lets you sign a message describing your intended action without submitting an on-chain transaction. A relayer funded by the dApp wraps this signed message in a native transaction, submits it and pays the gas. The target contract extracts the original sender from appended calldata using a trusted forwarder.

ERC-2771 proved the concept of gasless transactions, but target contracts must explicitly support the standard by using a modified sender extraction function. The standard does not work retroactively with already-deployed contracts. ERC-4337 has largely superseded this approach because it works with any contract without modifications.

Architectural Elimination

Some protocols take fee abstraction to its logical conclusion by eliminating per-transaction fees entirely, and Spark, a Layer 2 for Bitcoin, does this through its statechain architecture. Spark-to-Spark transfers reassign cryptographic key shares rather than broadcasting on-chain transactions, so no mining fee or gas cost arises during a transfer. Users pay standard Bitcoin network fees only when depositing to or withdrawing from Spark.

Onboarding New Users

The most immediate use case is eliminating the "cold start" problem. New users who receive stablecoins for the first time cannot do anything with them without also acquiring native tokens for gas. Sponsoring paymasters let dApps cover initial transaction costs, reducing the steps from "download wallet, buy ETH, swap to USDC, then transact" to simply "download wallet and transact."

Stablecoin Payments

Stablecoin payment rails should not require users to think about gas tokens if they are to compete with traditional payment networks. Fee abstraction lets a merchant accepting USDC denominate fees in the same currency as the payment or hide them entirely. Traditional card networks similarly handle interchange fees behind the scenes.

Embedded Wallets

Embedded wallets integrated into apps and websites benefit significantly from fee abstraction. Exposing gas token requirements breaks the abstraction when wallet infrastructure is invisible to the user. Fee sponsorship or token-denominated fees let embedded wallet providers keep that infrastructure hidden, so users never interact with blockchain mechanics directly.

Cross-Chain Operations

Users operating across multiple chains must maintain native token balances on each network. Fee abstraction combined with chain abstraction lets you hold a single asset like USDC and transact across chains without acquiring separate gas tokens for each one. This is particularly relevant for payment chain abstraction flows where the underlying chain selection is automated.

Fee Abstraction on Bitcoin

Bitcoin's UTXO model and limited scripting language make Ethereum-style fee abstraction, including paymasters and smart contract wallets, more difficult to implement at the base layer. Every Bitcoin transaction requires a fee paid in BTC, and there is no native mechanism for third-party fee sponsorship.

Layer 2 solutions address this differently. The Lightning Network still requires channel participants to hold BTC for on-chain operations, including opening, closing and force-closing channels, though routing fees are minimal. Spark uses off-chain key rotation via FROST threshold signatures, allowing transfers of both BTC and USDB to settle in under one second with zero protocol fees, and users only encounter Bitcoin network fees at the boundary between Spark and the base chain.

Spark's architectural approach to fee abstraction is detailed in the Spark Layer 2 deep dive. Paymaster-based systems still incur underlying gas costs because someone always pays, but Spark's statechain model genuinely eliminates the cost of peer-to-peer transfers.

Centralisation of Fee Sponsorship

A single entity sponsoring all gas fees can censor transactions by refusing to sponsor specific users or operations. Users become dependent on the sponsor's willingness to continue covering costs. Users who never acquired native tokens may find their funds temporarily stranded if a dApp shuts down its paymaster.

Oracle and Price Feed Risk

Token paymasters that accept fee payment in ERC-20 tokens rely on oracle price feeds to calculate conversion rates. Stale or manipulated price data could lead to users overpaying or the paymaster operating at a loss. Production deployments need reliable oracle infrastructure and rate-limiting.

Cost Sustainability

Sponsoring gas fees is a business expense, so protocols offering free transactions need a sustainable economic model to cover these costs long-term. Common approaches include absorbing fees as a customer acquisition cost, charging platform fees elsewhere, or building fee coverage into subscription pricing. Circle's Paymaster, for example, transitioned from free to a 10% service fee on gas costs in July 2025, reflecting the reality that someone must ultimately pay for block space.

Smart Contract Risk

Paymaster contracts handle fee-related logic and interact with user funds. Bugs in paymaster implementations could lead to drained sponsorship deposits or stuck transactions. The additional smart contract surface area introduced by ERC-4337, including EntryPoint, paymaster and bundler interactions, creates more potential attack vectors than simple native transactions.

Is fee abstraction the same as account abstraction?

No, account abstraction is a broader concept that makes blockchain accounts programmable, enabling features like social recovery, transaction batching and session keys. Fee abstraction is one specific capability that account abstraction enables, typically through the paymaster mechanism. You can have fee abstraction without full account abstraction, as Celo and Cosmos demonstrate, and account abstraction without fee abstraction.

Who ultimately pays the fee?

Paymaster-based systems always require someone to pay the underlying gas cost. Sponsoring paymasters shift the cost to the dApp operator, while token paymasters shift the denomination but the user still pays. Only architectures that eliminate on-chain transactions, like Spark's statechain model, truly remove the fee rather than redirecting it.

Does fee abstraction work on Bitcoin?

Bitcoin's base layer does not support fee abstraction natively. Every L1 transaction requires BTC for fees. Layer 2 solutions like Spark achieve the same user experience by processing transfers off-chain, meaning you can hold and transfer stablecoins without ever needing BTC for fees.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.

0

← Los 1876 términos del glosario