personal_listAccounts

描述:获取节点账户列表。

return

数据类型 备注
Array 账户列表

example

Request:

curl -X POST \
  http://127.0.0.1:8283 \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "personal_listAccounts", "params": []}'

Response:

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [
        "0xA6FB67336FA6678e63b82700eba6b6275B01B6DD",
        "0x12699a74ab9A2D4208B41C6A73A38774E3f7851F",
        "0x32ffc94F9716b4B0bbA6ce93BFE7CeF12C3F743F",
        "0xaDe56Eb4722C6552B121522ed552efD8721d4008"
    ]
}