Powered By GitBook
eth_accounts
Returns a list of addresses owned by client.
Since Alchemy does not store keys, this will always return empty.

Parameters

none

Returns

Array of DATA, 20 Bytes - addresses owned by the client.

Example

Request
Curl
Postman
1
curl https://eth-mainnet.alchemyapi.io/v2/your-api-key \
2
-X POST \
3
-H "Content-Type: application/json" \
4
-d '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}'
Copied!
1
URL: https://eth-mainnet.alchemyapi.io/v2/your-api-key
2
RequestType: POST
3
Body:
4
{
5
"jsonrpc":"2.0",
6
"method":"eth_accounts",
7
"params":[],
8
"id":1
9
}
Copied!
Result
1
{
2
"id":1,
3
"jsonrpc": "2.0",
4
"result": []
5
}
Copied!
Last modified 2mo ago
Copy link