Skip to main content

eth_coinbase


Method

  • JSON-RPC method name: eth_coinbase
  • JSON-RPC version: 2.0

Parameters

This method does not accept any parameters.

Result

  • Name: Coinbase address
  • Type: string

Result schema

{
"title": "hex encoded address",
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}

Errors

This method may return JSON-RPC standard errors (e.g. -32600, -32601, -32602, -32603) as well as application-specific errors.

TODO: Document method-specific error codes and conditions.