Meta transactions with refund?

Is there any boilerplate code out there which allows for meta transactions to be refunded?

Basically, let’s assume I want to swap 10 USDT for 10 USDC on Uniswap but I don’t have Eth. So I will sign a message which swaps the tokens for me and then sends 1 USDC to the relayer that paid the gas fees.

Is someone implementing this or something similar. If yes, can I also see their code for inspiration? TIA

View Source

2 thoughts on “Meta transactions with refund?”

Leave a Comment