eth

Ethereum (ETH)

Method: POST eth_accounts

dropdown
POST

eth_accounts

Returns a list of account addresses a client owns.

Parameters

-

Request

curl --location --request POST 'https://eth.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "eth_accounts",
"params": [],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": []
}