MetaMask / MetaMask/metamask-extension
[Bug]: `Failed to get token standard and details. Error: Error: Unable to determine contract standard` when trying to send transaction
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
**Describe the bug**
When attempting to send a transaction, the application fails to retrieve the token standard and token details. The following error is shown:
`Failed to get token standard and details. Error: Unable to determine contract standard`
**Expected behavior**
The application should correctly identify the token contract standard (e.g., ERC-20, ERC-721) and load token details.
**Screenshots/Recordings**
**Steps to reproduce**
1. Open the application and connect a wallet.
2. Select a token.
3. Initiate a send transaction.
4. Observe the error during transaction preparation.
**Error messages or log output**
```shell
Failed to get token standard and details. Error: Error: Unable to determine contract standard
```
**Where was this bug found?**
Internal release testing
**Version**
13.19.0
**Build type**
None
**Browser**
Chrome
**Operating system**
MacOS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the send flow on version 13.19.0 in Chrome on macOS, then trace the token standard and token-details lookup during transaction preparation. Done means the application identifies supported token standards such as ERC-20 or ERC-721, loads token details, and no longer reports the contract-standard error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blockchain, typescript
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100