eth_coinbase - Ethereum

eth_coinbase. Returns the client coinbase address

eth_coinbase - ethereum [Value: 0CU]
Returns the client coinbase address.
Use cases

Use cases

  • Identify the coinbase address for reward collection
  • Verify mining rewards recipient address on the node
  • Check the default account for mining payouts
Constraints

Constraints

  • Node must be running in mining mode
  • Requires valid and connected Ethereum node
  • Coinbase address must be properly configured
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request POST \
    --url https://eth.drpc.org \
    --header 'accept: application/json' \
    --header 'content-type: application/json' \
    --data '
{
 "id": 1,
 "jsonrpc": "2.0",
 "method": "eth_coinbase"
}
'
Copy
Response
200
{
  "id":64,
  "jsonrpc": "2.0",
  "result": "0x407d73d8a49eeb85d32cf465507dd71d507100c1"
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200

Response params

object
idinteger
jsonrpcstring
resultstring
Returns the client coinbase address.