eth_coinbase

eth_coinbase - Celo

eth_coinbase. Retrieves the coinbase address of the node, which is the address that receives mining rewards

eth_coinbase - celo [Value: 0CU]
Returns the address of the client's coinbase
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 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://celo.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.