Skip to main content

eth_accounts RPC Method

Returns an array of addresses owned by the client. Since QuickNode does not store private keys, this will always return an empty response.

Updated on
Nov 2, 2023

eth_accounts RPC Method

Parameters

This method does not accept any parameters

Returns

result
An array of addresses owned by the client
Request
1
curl https://docs-demo.xdai.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"method":"eth_accounts","id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free