# Cannot estimate gas

**URL:** <https://community.metamask.io/t/cannot-estimate-gas/28172>\
**Category:** Support\
**Created:** [February 11, 2024, 4:45am UTC](https://community.metamask.io/t/cannot-estimate-gas/28172 "2024-02-11T04:45:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shred369](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@shred369](https://community.metamask.io/u/shred369)\
**Post date:** [February 11, 2024, 4:45am UTC](https://community.metamask.io/t/cannot-estimate-gas/28172/1 "2024-02-11T04:45:48Z")

</div>

When completing a bridge transfer from StarkNet to Ethereum, upon selecting “complete transfer” on StarkGate, I receive the error

“cannot estimate gas; transaction may fail or may require manual gas limit”

 ![image](https://europe1.discourse-cdn.com/metamask/original/3X/e/f/ef2894b1848ef885ee757b3a7e484dc297590873.png)

---

<div class="post-metadata">

**Author:** ![tuya](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.io/tuya/32/15138_2.png) [@tuya](https://community.metamask.io/u/tuya)\
**Post date:** [February 11, 2024, 5:26am UTC](https://community.metamask.io/t/cannot-estimate-gas/28172/2 "2024-02-11T05:26:36Z")

</div>

hey @shred369 ,welcome to MetaMask community.  
Someone asked a similar question (he bridged from Ethereum to starknet), check Mandip’s reply .

> [@Transaction error: cannot estimate gas](https://community.metamask.io/t/transaction-error-cannot-estimate-gas/26800/8):
>
> Please visit revoke tool website to check how many token approval allowances has been set. You may revoke the permissions if set below than the current amount you are trying to Bridge and after revoking try again to bridge to starknet using starkgate. Below is the link for revoke tools.

You can use revoke to see the amount you approved for stargate, if it’s lower than your current bridged amount, revoke it first and then use stargate again.

Not sure if it can solve your problem. 🐈

---

<div class="post-metadata">

**Author:** ![shred369](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@shred369](https://community.metamask.io/u/shred369)\
**Post date:** [February 11, 2024, 5:40am UTC](https://community.metamask.io/t/cannot-estimate-gas/28172/3 "2024-02-11T05:40:30Z")

</div>

Yes I have tried revoking. Unfortunately this still does not resolve the issue. My permissioned amount was well above the amount I was trying to bridge.

Also, when I try to revoke on MetaMask portfolio setting, after completing a revoke (and paying gas fees) I refresh the page and see that the contract has not been revoked.

 ![image](https://europe1.discourse-cdn.com/metamask/original/3X/7/b/7b1c93696590005786a3c0278d1e3a7c3d3ce27d.png)

---

<div class="post-metadata">

**Author:** ![tuya](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.io/tuya/32/15138_2.png) [@tuya](https://community.metamask.io/u/tuya)\
**Post date:** [February 11, 2024, 5:50am UTC](https://community.metamask.io/t/cannot-estimate-gas/28172/4 "2024-02-11T05:50:46Z")

</div>

> Also, when I try to revoke on MetaMask portfolio setting, after completing a revoke (and paying gas fees) I refresh the page and see that the contract has not been revoked.

There may be a delay in the display of the page, don’t worry. As long as the blockchain explorer shows that it has been revoked, that’s fine.

> I have tried revoking. Unfortunately this still does not resolve the issue. My permissioned amount was well above the amount I was trying to bridge.

I have no other suggestions right now. You can try again later. if that doesn’t work, wait for someone else to help.

---

<div class="post-metadata">

**Author:** ![Mandip](https://dub1.discourse-cdn.com/metamask/user_avatar/community.metamask.io/mandip/32/24243_2.png) [@Mandip](https://community.metamask.io/u/Mandip)\
**Post date:** [February 11, 2024, 5:55am UTC](https://community.metamask.io/t/cannot-estimate-gas/28172/5 "2024-02-11T05:55:45Z")

</div>

In addition to tuya mentioned,

Please do not try to deposit/withdraw max amount. Please leave some ETH for fees puropose. Refresh the bridge page, clear browser cache and cookies and give a try again by leaving enough ETH in your wallet (ETH mainnet for withdraw to complete transfer) for gas fees purpose. You need to have ETH in ethereum mainnet to complete transfer (withdraw from starknet to ETH mainnet after status changes to accepted on L1 on starknet block explorer if you did not do automatic withdraw). You can track daily average withdraw gas fees here **https:// voyager.online/analytics?page=bridge** This fees do not remain same, it changes as network activity changes

 ![image](https://europe1.discourse-cdn.com/metamask/original/3X/3/9/393ab728b4034fe45829743ff7273d1c14496c72.png)

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/metamask/original/1X/5a52b237b0f337b5837d56bd5cd7b21defb20221.svg) [@system](https://community.metamask.io/u/system)\
**Post date:** [March 12, 2024, 4:46am UTC](https://community.metamask.io/t/cannot-estimate-gas/28172/6 "2024-03-12T04:46:38Z")

</div>

This topic was automatically closed after 30 days. New replies are no longer allowed.
