Skip to content

[BUG]: OneKey 插件在调用 /wallet/v1/account/token/search 接口时返回 "40001" 错误 #7826

@lihanjin

Description

@lihanjin

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • I checked to make sure that this issue has not already been filed

Describe the bug
OneKey 插件在调用 /wallet/v1/account/token/search 接口时返回 {"code":40001,"message":"Request failed with status code 404"} 错误。请求 URL 为 https://wallet.onekeycn.com/wallet/v1/account/token/search,并且使用了以下参数。
{"networkId":"tron--0xcd8690dc","accountAddress":"TGn5Hy4H3LoT1CBUykVRmGVt7qN6sau5Lc","contractList":[""],"withCheckInscription":false,"withFrozenBalance":true}
To Reproduce

  1. 连接到 OneKey 插件。
  2. 切换tron nile 网络
  3. 调用合约方法

Expected behavior
请求应返回有效数据,而不是 404 错误。

Screenshots

Image

Desktop (please complete the following information):
操作系统:Windows 10

浏览器:Chrome

版本:114.0.5735.134

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions