Extra gas limits

Allbridge has limits for extra gas amount. To check the max value of extra gas you have to use the getExtraGasMaxLimits method

  const extraGasMax = await sdk.getExtraGasMaxLimits(sourceToken, destToken);
  console.log("extraGas Limits =", JSON.stringify(extraGasMax, null, 2));

Full example

Last updated