eth_requestAccounts
Requests that the user provide an NeoLine address to be identified by. This method is specified by EIP-1102.
Params
None.
Result
array[string]
Match pattern: ^0x[0-9a-fA-F]{40}$
Errors
Code
Message
4001
User rejected the request.
4901
The current network is Neo Legacy or Neo N3. Please call wallet_switchEthereumChain
to switch to the Neo X network.
Example
Request
Result
最后更新于