curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_accounts",
"id": 1
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<string>"
]
}curl --request POST \
--url https://base-mainnet.core.chainstack.com/2fc1de7f08c0465f6a28e3c355e0cb14 \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "eth_accounts",
"id": 1
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": [
"<string>"
]
}noneresult — an array of 20-byte account addresses owned by the client. For most public nodes, this array will be empty as accounts are not stored on the node for security reasons.eth_accounts method is primarily used in development environments or private networks where accounts are stored locally on the node. In production environments with public nodes, this method typically returns an empty array as accounts should be managed client-side for security reasons.Was this page helpful?