Home > Today’s Crypto News
bitcoin
bitcoin

$83571.608249 USD

-1.38%

ethereum
ethereum

$1826.028236 USD

-3.02%

tether
tether

$0.999839 USD

-0.01%

xrp
xrp

$2.053149 USD

-2.48%

bnb
bnb

$601.140115 USD

-0.44%

solana
solana

$120.357332 USD

-3.79%

usd-coin
usd-coin

$0.999833 USD

-0.02%

dogecoin
dogecoin

$0.166175 USD

-3.43%

cardano
cardano

$0.652521 USD

-3.00%

tron
tron

$0.236809 USD

-0.59%

toncoin
toncoin

$3.785339 USD

-5.02%

chainlink
chainlink

$13.253231 USD

-3.91%

unus-sed-leo
unus-sed-leo

$9.397427 USD

-0.19%

stellar
stellar

$0.266444 USD

-1.00%

sui
sui

$2.409007 USD

1.15%

Metatransaction

What Is a Metatransaction? 

A metatransaction is like a butler that executes a transaction signed by another party on behalf of the original signer, ferrying this original transaction onto the public blockchain rather than the person having to do it themselves. Thus, metatransactions remove the complexities and gas cost of execution on public blockchains by letting a relayer network handle these while the user just needs to sign the transaction with one click.

On a public ledger, transactions are signed by the person transacting, and this is received in the mempool, a database of unconfirmed or pending transactions which every node keeps. Here, miners include the signed transaction into the next block. 

During this process, the person transacting pays the gas fees, placing all the responsibility on the user completing the transaction. Also, users are required to pay the gas fees in the chain's native token - even when using dApps or protocols which have their own token.

Metatransactions allow dApps to circumvent the burden of gas fees and chain token payments by having the signed transaction live within the standard blockchain transaction. As a result,  the burden of gas fees and transaction completion is placed on the third party. 

For example, a dApp developer could see this as a good opportunity to offer a gasless experience and sponsor the gas fees for some or all users to increase user acquisition. They can also choose to allow users only to have their native token to pay for gas. In both scenarios, they would use a metatransaction so they are the ones managing the standard chain transaction and paying the gas fees needed. The user would simply sign what is required and pay according to what the developer designates, in their own token or zero gas fees.

The benefit of metatransactions is a smoother user experience. It takes the difficult and costly aspects of trading on blockchains away from the users and places these responsibilities with the developers or relayer infrastructure already participating on the back end. 

Author

Sachin Tomar, CTO and Co-Founder of Biconomy, a hyper-flexible toolkit to superpower your Web3 stack. With a background in software engineering, Sachin is working to make a decentralized world through blockchain.