← Robinhood Chain overview
Robinhood Chain · eth
eth_accounts
Returns a list of addresses owned by client.
cURL
Endpoint: https://rh-mainnet.eu1.azxa.io/<api-key> — replace <api-key> with your API key from the Azxa app .
Terminal
curl -X POST https://rh-mainnet.eu1.azxa.io/<api-key> \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_accounts","params":[]}'Example request
JSON-RPC
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_accounts",
"params": []
}Result
Accounts
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": [
"0xd1f5279be4b4dd94133a23dee1b23f5bfc0db1d0"
]
}Schema
{
"type": "array",
"title": "Accounts",
"items": {
"type": "string",
"title": "hex encoded address",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
}