BlockPI Network
Search
K
Comment on page

eth_accounts

Returns a list of addresses owned by client. Since BlockPI does not store keys, this will always return empty.

Parameters:

None

Returns:

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

Example:

// Request
curl https://viction.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method":"eth_accounts","params":[],"id":1}'
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": [
"0x407638f566802d698117973817d867e3e9604e06"
]
}