eth_coinbase
Returns the address of the client's coinbase
Request
Examples
curl --request POST \
--url https://rpc.xone.org \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_coinbase"
}
'
Response
200 OK
{
"id":64,
"jsonrpc": "2.0",
"result": "0x407d73d8a49eeb85d32cf465507dd71d507100c1"
}
Request params
Name | Type | Description |
---|---|---|
id | integer | Request identifier |
jsonrpc | string | JSON-RPC version |
method | string | API method name |
Parameters | This method does not accept any parameters. |
Response
200
Name | Type | Description |
---|---|---|
Parameters | object | |
id | integer | |
jsonrpc | string | |
result | string | Returns the client coinbase address. |