Skip to main content

eth_accounts

Returns a list of addresses owned by the client.

Parameters

None

Returns

data: array - Array of messages from inbox
  • address: address - Address of wallet owned by client

Example

Request

curl https://mainnet.moki.network \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "eth_accounts", "params": [], "id": 1}'

Reponse

Example Response
{
"jsonrpc": "2.0",
"id": 1,
"result": [
"0x22a4dc6353e087a5c37c7168bcf149e9342eb922",
"0xd980f6b9ba3223711989639664ffb26c75ecc50b"
]
}