Metatransaction
Web3 / layer2 solutions
A metatransaction is a blockchain transaction where a third-party relayer pays the gas fees on behalf of the user, allowing transactions to be executed without the user holding native currency for gas costs. The user signs a transaction authorizing a relayer to submit their signed message to the blockchain, where a smart contract validates the signature before processing the transaction. This abstraction layer improves user experience by eliminating friction around gas fee acquisition while enabling greater flexibility in transaction execution, as the relayer can optimize gas parameters or batch multiple user transactions together for cost efficiency. Example: OpenZeppelin's Defender and Gas Station Network (GSN) enable metatransactions for Ethereum applications, allowing users to interact with dApps without holding ETH for gas, with relayers covering costs and earning compensation through protocol mechanisms. Why it matters for Layer 2 scaling: Metatransactions reduce friction for new users entering crypto ecosystems and improve overall capital efficiency by decoupling transaction execution from gas fee holdings. This pattern is fundamental to Layer 2 user experience improvements, account abstraction implementations, and enabling seamless onboarding for mainstream adoption of blockchain applications.
Explore the full Web3 Glossary — 2,038+ expert-curated definitions. Need guidance? Talk to our consultants.