Home > Today’s Crypto News
bitcoin
bitcoin

$93113.538616 USD

-0.11%

ethereum
ethereum

$1748.590950 USD

-2.15%

tether
tether

$1.000392 USD

0.02%

xrp
xrp

$2.177851 USD

-1.16%

bnb
bnb

$600.317897 USD

-0.84%

solana
solana

$151.339663 USD

1.47%

usd-coin
usd-coin

$0.999927 USD

0.01%

dogecoin
dogecoin

$0.179240 USD

2.45%

cardano
cardano

$0.707230 USD

2.73%

tron
tron

$0.243466 USD

-0.61%

sui
sui

$3.323843 USD

10.76%

chainlink
chainlink

$14.828095 USD

0.41%

avalanche
avalanche

$21.905207 USD

-0.82%

stellar
stellar

$0.275988 USD

4.91%

unus-sed-leo
unus-sed-leo

$9.206268 USD

0.44%

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.