Eth_coinbase

eth_coinbase

post

Returns the Ethereum coinbase address (i.e., the address that receives mining rewards).

Authorizations
api-keystringRequired
Body
jsonrpcstringRequiredExample: 2.0
methodstring · enumRequiredExample: eth_coinbasePossible values:
paramsarrayRequired

This method takes no parameters.

idintegerRequiredExample: 1
Responses
chevron-right
200

JSON-RPC Response with the coinbase address

application/json
jsonrpcstringRequiredExample: 2.0
idintegerRequiredExample: 1
resultstringRequired

The coinbase address as a hexadecimal string (20 bytes, 0x-prefixed).

Example: 0x0000000000000000000000000000000000000000
post
/
200

JSON-RPC Response with the coinbase address

Last updated