How to know if sendTransaction is mined or not in ethereum JS?

MahendraMahendra Member Posts: 1
Hello Team,

We have call sendtransaction in ethereum js. But how we come to know when that send Transaction is minned properly.

Example:
var result = myContractInstance.{METHOD}.sendTransaction(param1,param2,TransactionObject);

We know send transaction took time to mine in blockchain. So is there any method or way that after sendTransaction we come to know that transaction has been updated properly?

This "result" object is the address of the sendtransaction but we dont know if that happened properly or not.

Please suggest.

Answers

Sign In or Register to comment.