eth_accounts

Returns a list of addresses owned by client. Due to privacy reasons, OMNIA does not store private keys, so this will always return an empty response.

Ethereum.org API Referencearrow-up-right

Parameters

None

Returns

Array of DATA, 20 Bytes - addresses owned by the client.

Example

Request

curl --request POST \
     --url https://endpoints.omniatech.io/v1/RPC_ENDPOINT \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_accounts"
}
'

Response

Last updated