eth_accounts - Ethereum
Use it to receive addresses that a client owns
How to Use the eth_accounts Method
Parameters
No parameters
What you receive
Array of DATA in 20 Bytes – it holds the list of addresses that belong to a client.
Sample
Here is a typical appliance example.
Call
curl https://eth-mainnet.rpcfast.com/?api_key=<key> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}'
Outcome
{"jsonrpc":"2.0","id":1,"result":[]}
Last updated