← Robinhood Chain overview

Robinhood Chain · eth

eth_coinbase

Returns the client coinbase address.

cURL

Endpoint: https://rh-mainnet.eu1.azxa.io/<api-key> — replace <api-key> with your API key from the Azxa app .

Terminal
curl -X POST https://rh-mainnet.eu1.azxa.io/<api-key> \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"eth_coinbase","params":[]}'

Example request

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_coinbase",
  "params": []
}

Result

Coinbase address

Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"
}
Schema
{
  "type": "string",
  "title": "hex encoded address",
  "pattern": "^0x[0-9a-fA-F]{40}$"
}