Skip to main content

eth_coinbase

Ethereum API

Returns the client coinbase address.

Params

(0)

Result

(Coinbase address)
string
Match pattern:
^0x[0-9,a-f,A-F]{40}$

Request

await window.ethereum.request({
"method": "eth_coinbase",
"params": []
});