{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_coinbase",
  "params": []
}
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "0x407d73d8a49eeb85d32cf465507dd71d507100c1"
}

Defined in the Ethereum JSON-RPC Specification

Returns the client coinbase address.

Parameters

This method does not accept any parameters.

Returns

result
string

The current coinbase address (20 bytes).

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_coinbase",
  "params": []
}
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": "0x407d73d8a49eeb85d32cf465507dd71d507100c1"
}

Error Handling

CodeMessageDescription
4100Requested method not supportedThe method is not supported by the wallet