0

In ethereum private blockchain i want to get the miner address from transaction hash. eth.getTransaction and eth.getTransactionReceipt are not giving miner details. is there any way to get miner address and total number of transaction validated by miner.

1 Answer 1

1

i got the the answer for getting miner details, we first need to get blockNumber from transaction hash, then we can call eth.getBlock(blockNumber) to get miner address for specific transaction

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.