Skip to main content

eth_coinbase

Returns the client coinbase address.

Params

(0)

Result

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

Example

Request

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

Result

"0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"

Request

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