eth_accounts - BNB Smart Chain
Retrieve a list of available accounts using the eth_accounts method via the JSON-RPC API Interface in the BSC protocol.
Supported Networks
Parameters
Request Example
https://go.getblock.io/<ACCESS-TOKEN>/curl --location --request POST https://go.getblock.io/<ACCESS-TOKEN>/
--header 'Content-Type: application/json'
--data-raw {
"jsonrpc": "2.0",
"method": "eth_accounts",
"params": [],
"id": "getblock.io"
}wscat -c wss://go.getblock.io/{ACCESS_TOKEN}/
{"jsonrpc": "2.0",
"method": "eth_accounts",
"params": [],
"id": "getblock.io"}Body Parameters
Use Cases
Code for eth_accounts
Common Errors
Conclusion
Last updated
Was this helpful?