How can I get all transactions for a specific address using Nbitcoin?

  • 1
    I've edited your question to ask for "how", since I am assuming you're looking for instructions. Could you clarify whether you want all transactions sending to an address or also the ones that spend those funds later?
    – Murch
    Commented May 9, 2020 at 19:37

2 Answers 2


you can't get all the transactions done on an address using just Nbitcoin. you need a block explorer for that. you can check out qbi t, blockcypher etc.

However you can get that using Nbitcoin and Nbxplorer (a simple blockchain tracker that monitors your xpub and addresses) with easy to use api's like getTransactions, getBalance etc.


var client = new QBitNinjaClient("http://api.qbit.ninja/", Network.Main);
var address1 = new BitcoinPubKeyAddress("your --Address", Network.Main);
var balance = await client.GetBalance(address1);
  • This does not answer the question because of "using Nbitcoin". Furthermore (meanwhile) QBit Ninja is not maintained anymore.
    – anion
    Commented Dec 12, 2023 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.