post https://{network}.g.alchemy.com/v2/
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
The Alchemy Composer allows you to make a no-code example request via your browser. Try it out above!
Request
curl https://arb-mainnet.g.alchemy.com/v2/your-api-key \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}'
URL: https://arb-mainnet.g.alchemy.com/v2/your-api-key
RequestType: POST
Body:
{
"jsonrpc":"2.0",
"method":"eth_accounts",
"params":[],
"id":1
}
Result
{
"id":1,
"jsonrpc": "2.0",
"result": []
}