Bware Docs
Home
Twitter
Linkedin
Telegram
Search…
About Bware Labs Decentralized API
API Docs
Ethereum API
Binance Smart Chain API
RPC
eth_getTransactionByHash method
eth_getBlockByNumber method
eth_blockNumber method
eth_syncing method
eth_getBalance method
eth_accounts method
eth_gasPrice method
Websocket API
Avalanche API
Moonbeam/Moonriver API
Astar/Shiden APIs
Fantom API
Polkadot API
Elrond API
Tutorials
Using Bware Labs Platform
Using Bware Labs Endpoint in PolkadotJs
Using Bware Labs Endpoint in Metamask
Using a Bware Labs endpoint in code
Powered By
GitBook
eth_accounts method
Returns the list of accounts owned by a client
Parameters
none
Returns
Array of DATA
, 20 Bytes - addresses owned by the client.
Example
// Request
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "eth_accounts","params": []}' https://bsc-api.bwarelabs.com/<your-endpoint-id>
// Response
{
"jsonrpc": "2.0",
"id": 1,
"result": ["0x407d73d8a49eeb85d32cf465507dd71d507100c1"]
}
Previous
eth_getBalance method
Next
eth_gasPrice method
Last modified
1yr ago
Copy link