← Celo overview
Celo · eth
eth_coinbase
Returns the client coinbase address.
Result
Coinbase address
Schema
{
"type": "string",
"title": "hex encoded address",
"pattern": "^0x[0-9a-fA-F]{40}$"
}Example request
Endpoint: https://your-celo-node.azxa.io
JSON-RPC
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_coinbase",
"params": []
}Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"
}cURL
curl -X POST https://your-celo-node.azxa.io \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_coinbase","params":[]}'