MetaMask / MetaMask/metamask-extension
[Bug]: No conversion rate available on Bitlayer chain.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
**Describe the bug**
Show in the blow picture, the token’s rate is not visible.
Here I use the api but return 400:
Please help me how to solve this problem, so Thank you.
**Expected behavior**
We expect to be able to see the exchange rate, similar to how it is shown for Avax tokens.
**Screenshots/Recordings**
Here is my Metamask version: 13.13.1
**Steps to reproduce**
Step 1:Add the chain,here is the chain info.
Name: Bitlayer Mainnet
RPC: https://rpc.bitlayer.org
ChainID: 200901
Symbol: BTC
Step 2: Add some tokens, like btr and ybtc.b.
BTR: 0x0e4cf4affdb72b39ea91fa726d291781cbd020bf
YBTC.B: 0x2cd3cdb3bd68eea0d3be81da707bc0c8743d7335
Step 3: And then you will find the issue.
**Error messages or log output**
```shell
```
**Where was this bug found?**
Live version (from official store)
**Version**
13.13.1
**Build type**
None
**Browser**
Chrome
**Operating system**
MacOS
**Additional context**
Same as Mobile for android.
Contributor guide
Research direction
Start by reproducing the issue in MetaMask 13.13.1 with Bitlayer Mainnet (chain ID 200901), using the reported BTR and YBTC.B token addresses, and inspect the conversion-rate API response. Done means the API no longer returns 400 and the token exchange rate is visible, matching the Avax behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, blockchain, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100