My simple goal is an app that tells me when a given address of my Wallet received coins.
pretty sure I have to use:
Code:
wallet.addEventListener(new AbstractWalletEventListener() {
public void onCoinsReceived(Wallet w, Transaction tx,
BigInteger prevBalance, BigInteger newBalance) {
System.out.println("You have received some Coins");
}
});
But how can I specify the wallet respectively the address that I want to be watched.
I can't figure it out with the help of the documentation:(