eth_accounts

返回客户端拥有的地址列表。

参数

返回值

  • Array - 空列表。在 TRON 中,该接口始终返回空列表。

示例

请求

curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '
{"jsonrpc": "2.0", "id": 1, "method": "eth_accounts", "params": []}'

结果

{"jsonrpc":"2.0","id":1,"result":[]}