eth_accounts

Returns a list of addresses for the accounts owned by the user.

Params

None.

Result

array[string]

Match pattern: ^0x[0-9a-fA-F]{40}$

Example

Request

await window.NEOLineNeoX.request({
  "method": "eth_accounts",
  "params": []
});

Result

["0xE45e9AdC2B51514849ea5B38dF37d1a65e6D52f5"]

最后更新于