coinbaseAddress method
The client coinbase address.
Implementation
Future<BigInt?> coinbaseAddress() async {
const method = EthereumRpcMethods.coinbaseAddress;
final dynamic res = await _client.rpcClient.request(method);
if (res != null && res.containsKey(EthereumConstants.ethResultKey)) {
return EthereumUtilities.safeParse(res[EthereumConstants.ethResultKey]);
}
_client.processError(method, res);
return null;
}