MetaMask / MetaMask/metamask-extension

[Enhancement] Insufficient gas error message for non-native tokens

Open
#26,768 0 comments 0 reactions 0 assignees View on GitHub
area-design type-enhancement
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### What is this about?

When trying to swap in the send flow, its a unclear how much gas I have available when encountering this low-gas error message. The only balance that is displayed on the screen is the balance for the send asset that has been selected.

image

### Scenario

_No response_

### Design

_No response_

### Technical Details

_No response_

### Threat Modeling Framework

_No response_

### Acceptance Criteria

_No response_

### Stakeholder review needed before the work gets merged

- [X] Engineering (needed in most cases)
- [X] Design
- [X] Product
- [ ] QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
- [ ] Security
- [ ] Legal
- [ ] Marketing
- [ ] Management (please specify)
- [ ] Other (please specify)

### References

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue identifies the send flow and includes a screenshot of the insufficient-gas error for non-native tokens, but names no files, tests, design, or acceptance criteria. Start by reproducing the low-gas state in the send flow and tracing where that message is produced; the work is done when users can understand their available native-token gas while sending another asset, with the expected wording and layout confirmed by design and product.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.