Fans Forum by TokenPocket
ios 2.1.4 调用 window.ethereum.request 方法抛错,2.1.3正常
Developer Community | 开发者社区
hgdrwra
2023 年9 月 11 日 12:03
1
截屏 2023-09-11 19.06.28
1179×1929 184 KB
try {
await window.ethereum.request({
method: ‘wallet_switchEthereumChain’,
params: [{ chainId: ‘0x61’ }],
});
} catch (error) {
console.log(‘error’, error);
}
报错结果如上
相关话题
话题
回复
浏览量
活动
ios 2.1.4 调用 window.ethereum.request 某一方法抛错,2.1.3正常
Developer Community | 开发者社区
待反馈
1
136
2023 年9 月 11 日
Wallet_switchethereumchain does not exist/is not available
Developer Community | 开发者社区
4
235
2023 年3 月 23 日
安卓开发在dapp里 调用 ethereum 的 wallet_addEthereumChain 切换钱包没有回调
TokenPocket Extension| 插件钱包
5
269
2023 年4 月 17 日
TP 安卓最新版本的bug
Developer Community | 开发者社区
待反馈
5
62
2025 年3 月 14 日
iOS SDK 调起钱包无法弹起转账页面
Developer Community | 开发者社区
12
252
2023 年5 月 30 日