description |
---|
Returns a list of addresses owned by client. |
{% hint style="warning" %} Since Alchemy does not store keys, this will always return empty. {% endhint %}
none
Array of DATA
, 20 Bytes - addresses owned by the client.
Request
{% tabs %} {% tab title="Curl" %}
curl https://eth-mainnet.alchemyapi.io/v2/your-api-key \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}'
{% endtab %}
{% tab title="Postman" %}
URL: https://eth-mainnet.alchemyapi.io/v2/your-api-key
RequestType: POST
Body:
{
"jsonrpc":"2.0",
"method":"eth_accounts",
"params":[],
"id":1
}
{% endtab %} {% endtabs %}
Result
{
"id":1,
"jsonrpc": "2.0",
"result": []
}