Skip to content

Commit 65154f0

Browse files
committed
Added a note for deprecation instead of removing the whole section
1 parent 481baab commit 65154f0

File tree

1 file changed

+27
-0
lines changed
  • public/content/developers/docs/apis/json-rpc

1 file changed

+27
-0
lines changed

public/content/developers/docs/apis/json-rpc/index.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,33 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}
383383
}
384384
```
385385

386+
### eth_coinbase {#eth_coinbase}
387+
388+
Returns the client coinbase address.
389+
390+
> **Note:** This method has been deprecated as of **v1.14.0** and is no longer supported. Attempting to use this method will result in a "Method not supported" error.
391+
392+
**Parameters**
393+
394+
None
395+
396+
**Returns**
397+
398+
`DATA`, 20 bytes - the current coinbase address.
399+
400+
**Example**
401+
402+
```js
403+
// Request
404+
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_coinbase","params":[],"id":64}'
405+
// Result
406+
{
407+
"id":64,
408+
"jsonrpc": "2.0",
409+
"result": "0x407d73d8a49eeb85d32cf465507dd71d507100c1"
410+
}
411+
```
412+
386413
### eth_chainId {#eth_chainId}
387414

388415
Returns the chain ID used for signing replay-protected transactions.

0 commit comments

Comments
 (0)