eth_coinbase - Ethereum
Retrieve the primary Ethereum client address using eth_coinbase. Useful for verifying the main configured account on the node for tasks like fee management or administrative purposes.
Supported Networks
Parameters
Request
URL
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_coinbase",
"params": [],
"id": "getblock.io"
}wscat -c wss://go.getblock.io/<ACCESS-TOKEN>/
# wait for connection and send the request body
{"jsonrpc": "2.0",
"method": "eth_coinbase",
"params": [],
"id": "getblock.io"}Response
Use Case
Code Example
Last updated
Was this helpful?