1

Can i check bitcoin balance by address with QBitNinja client without my own node?

    public static void Main(string[] args)
    {
        var client = new QBitNinjaClient(Network.TestNet);
        var address = new BitcoinPubKeyAddress("1May3uZes7Qh629mPG8WXZbMjhZQJ6QeRK");
        var balance = client.GetBalance(address).Result;
    }

2 Answers2

0

I resolve it by using QbitNinja public nodes

    public static async Task Main(string[] args)
    {
        var client = new QBitNinjaClient("http://api.qbit.ninja/", Network.TestNet);
        var address = new BitcoinPubKeyAddress("1May3uZes7Qh629mPG8WXZbMjhZQJ6QeRK");
        var balance = await client.GetBalance(address);
    }
Bruno Zell
  • 7,761
  • 5
  • 38
  • 46
-1

No. The readme specifies BitCoin Core, synchronized (so a full node), as a pre-requisite. The Setup the indexer section also states that it listens to a full node.

Owen Pauling
  • 11,349
  • 20
  • 53
  • 64