Gas for Meta Transactions?

How to increase gas for Meta Transactions?

For vanilla gasless way you might be using the

  • mexa-sdk - In this after the you make the transaction object you can add the gasLimit in the txParams object and pass it. Basically if get the GasLimit then we override the value given by the user otherwise we estimate it on our end.
  • API - If you are using https://api.biconomy.io/api/v2/meta-tx/native you can simply add gasLimit in the params.

For new Biconomy SDK Account abstraction gasless flow you can pass the GasLimit object in the send method. Eg - https://github.com/bcnmy/sdk-demo/blob/main/src/components/UseCases/Forward/AddLP.tsx#L186