0

I'm trying to get unspent transaction using bitcoinj like here without using api calls. How can I do this?

0

Bitcoinj is only a library, but there is an experimental full verification mode that would allow this. https://bitcoinj.github.io/full-verification It is important to note it is not intended for production use and almost certainly contains chain splitting bugs.

0

Try:

Map<Sha256Hash, Transaction> unspentTxs = wallet.getTransactionPool(WalletTransaction.Pool.UNSPENT);

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.