Sponsor gas

Sponsor gas fees for your users by configuring executionMode in the in-app wallet options.


Sponsor gas fees for your users' in-app wallets using EIP-7702, enabling gasless transactions and improving user experience.

const wallet = inAppWallet({
// enable gasless transactions for the wallet
executionMode: {
mode: "EIP7702",
sponsorGas: true,
},
});

That's it! All transactions executed by the user will be sponsored via the thirdweb infrastructure.