Does the NBitcoin library internally use blockchain.info to process transactions?

-1

My concern is about miner's fee, who is taking that amount? Blockchain.info or NBitcoin? I just wanted to confirm whether the library internally uses blockchain.info apis for performing transactions.

Chanchal Bhardwaj

Posted 2016-07-20T10:40:41.513

Reputation: 3

Are you referring to the .NET library NBitcoin (https://github.com/MetacoSA/NBitcoin), or something else? Your question is very unclear what it is asking.

Jestin 2016-07-20T14:52:59.413

Yes, I m talking about .Net Library NBitcoin. I just wanted to confirm whether this framework internally uses blockchain apis for performing transactions.Chanchal Bhardwaj 2016-07-21T06:02:55.857

By blockchain, do you mean the bitcoin blockchain (the distributed ledger), or the commercial service blockchain.info?Pieter Wuille 2016-07-21T13:35:18.437

I meant Commercial service blockchain.infoChanchal Bhardwaj 2016-07-22T05:24:22.773

Please edit your question to include the information you provided in the comments to clarify it.Murch 2016-08-14T22:57:47.300

I've edited the question to add the information from the comments. However, the question appears to grow from a misunderstanding: libraries and wallet services cannot collect transaction fees. It's always the miners that get the fee.

Murch 2016-08-19T08:58:38.660

Answers

2

No, NBitcoin does not use Blockchain.info's API in order to interact with the Bitcoin blockchain. It implmenents the Bitcoin scripting language, network protocol, transaction construction, and other aspects. This allows programmers to use NBitcoin to directly interact with the Bitcoin network.

Since transaction construction is in the hands of the NBitcoin user, transactions can be constructed with whatever miner fees you choose.

Jestin

Posted 2016-07-20T10:40:41.513

Reputation: 8 339