最后更新于7个月前
这有帮助吗?
Requests that the wallet switches its active Ethereum chain. Introduced by .
string
Match pattern:^0x[a-fA-F\d]+$
await window.NEOLineNeoX.request({ "method": "wallet_switchEthereumChain", "params": [ { "chainId": "0x1" } ] });
"null"