🔵 Base
eth_accounts

📭 eth_accounts RPC Method (Base Chain)

⚠️

Deprecated: This method no longer returns any actual data — it always responds with an empty array []. Exposing wallet addresses publicly is a security risk, which is why most clients disable this method.


📄 Description

The eth_accounts method was originally used to list addresses managed by the client (e.g. from a local wallet or injected provider).

This allowed developers to easily access the user's wallet addresses to send transactions or messages. But for security reasons, this method is no longer supported on most networks and infrastructure providers — including Chainnodes.


🔧 Parameters

None.

Need RPC API keys?

Get 12.5M archival requests for free today.


🔁 Returns

An array of account addresses owned by the client.
🛑 In practice, this array is always empty: [].


🛰️ Request

POST https://base-mainnet.chainnodes.org/YOUR-API-KEY

💡 Example

curl https://base-mainnet.chainnodes.org/YOUR-API-KEY \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}'

📦 Body

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": []
}