How to get pending balance in with bitcoinj? I'm try get pending balance from wallet, but results do not match with pending transactions? Thanks for advice!
Edit: I don't think there's a method to do that, but this should do the same thing:

// calculate balance, only include transactions that are not in a block
List&lt;TransactionOutput&gt; candidates = wallet.calculateAllSpendCandidates(false, false);
Coin value = Coin.ZERO;
for (TransactionOutput out : candidates) {
    if(out.getParentTransaction().getAppearsInHashes() == null) {
        // Not seen in any block that we know of
        value = value.add(out.getValue());
    }
}