2

I want to show block confirmations of the user's ether transaction to my account. How do I put watch on the incoming transactions?? I would need the transaction Id to know calculate block confirmations. But I can't view the incoming ether transaction for my account. Any way out?? Thanks.

  • This is very good question – Pavel Niedoba Oct 22 '17 at 22:40
4

If you're using web3j/web3js, you can do it programmatically. I use web3j and I have this in my code:

web3j.transactionObservable().subscribe( tx -> {

        if( credentials.getAddress().equals( tx.getTo() )) {

            Logger.info( "This is my money! -> addr: {}, amt: {}", 
                    credentials.getAddress(), tx.getValue() );
        }
    });
  • This ignores incoming transactions sent as part of a smart contract function invocation. – Thomas Jay Rush Feb 10 '18 at 2:14
-2

Go to https://etherscan.io put in the address you want to monitor.

"in" (green) indicates deposits.

"out" (orange) indicates withdrawals.

  • This is a centralized solution. Are there any decentralized solutions? – Thomas Jay Rush Feb 10 '18 at 2:14

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.