eth_accounts
Method
- JSON-RPC method name:
eth_accounts - JSON-RPC version:
2.0
Parameters
This method does not accept any parameters.
Result
- Name:
Accounts - Type:
string[]
Result schema
{
"title": "Accounts",
"type": "array",
"items": {
"title": "hex encoded address",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
}
Errors
This method may return JSON-RPC standard errors (e.g. -32600, -32601, -32602, -32603) as well as application-specific errors.
TODO: Document method-specific error codes and conditions.