> For the complete documentation index, see [llms.txt](https://docs-core.allbridge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-core.allbridge.io/sdk/guides/utilities/extra-gas-limits.md).

# Extra gas limits

Allbridge has limits for extra gas amount. To check the max value of extra gas you have to use the [getExtraGasMaxLimits](https://bridge-core-sdk.web.app/classes/AllbridgeCoreSdk.html#getExtraGasMaxLimits) method

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

[Full example](https://github.com/allbridge-io/allbridge-core-js-sdk/blob/main/examples/src/examples/bridge/get-extra-gas-max-limits.ts)
