getCoinbase
Callable
Parameters
web3Context: Web3Context<EthExecutionAPI, any>
Returns Promise<string>
Returns the coinbase address to which mining rewards will go.
web3.eth.getCoinbase().then(console.log);
> "0x11f4d0A3c12e86B4b5F39B213F7E19D048276DAe"
(Web3Context) Web3 configuration object that contains things such as the provider, request manager, wallet, etc.