[Ethereum] ny way to see all the incoming transactions to a wallet address

accountsaddressesconfirmationstransactions

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.

Best Answer

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() );
        }
    });