Skip to content

eth_accounts

/v1/jsonrpc/:network/eth_accounts

Returns a list of addresses owned by client.

REQUEST

GET https://api.backbonecabal.xyz/v1/jsonrpc/:network/eth_accounts

HEADERS

Content-Type: application/json

EXAMPLE

// HTTP GET
curl https://api.backbonecabal.xyz/v1/jsonrpc/mainnet/eth_accounts

// WEBSOCKETS
>wscat -c wss://mainnet.backbonecabal.xyz/ws
>{"jsonrpc":"2.0","method":"eth_accounts","params":[],"id":73}

RESPONSE

RESULT FIELDS

  • ADDRESSES - arrays of hex codes as strings representing the addresses owned by the client

BODY

{
    jsonrpc: "2.0",
    id: 1,
    result: ["0xc94770007dda54cF92009BFF0dE90c06F603a09f"]
}
Back to top