API Reference

eth_accounts - Optimism

Returns a list of addresses owned by client.

Parameters

none


Returns

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


Example

Request

curl https://opt-mainnet.unifra.io/v1/your-api-key \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":1}'
URL: https://opt-mainnet.unifra.io/v1/your-api-key
RequestType: POST
Body:
{
    "jsonrpc":"2.0",
    "method":"eth_accounts",
    "params":[],
    "id":1
}

Result

{
	"id": 1,
	"jsonrpc": "2.0",
	"result": []
}
Language
Click Try It! to start a request and see the response here!