MetacoSA / NBitcoin

Comprehensive Bitcoin library for the .NET framework.
MIT License
1.87k stars 846 forks source link

Transaction is not available on api.qbit.ninja #1127

Open itartinas opened 2 years ago

itartinas commented 2 years ago

https://api.qbit.ninja/transactions/ec513fca4f274a191dd1996cbd8f26c22a4fd775a9b6c4cb6bb50718de2feb83

It throws 404 error, and because of this it throws error in my code

var transactionId = uint256.Parse("ec513fca4f274a191dd1996cbd8f26c22a4fd775a9b6c4cb6bb50718de2feb83"); --> Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Bitcoin.Program.Main(String[] args) in C:\Users\user\source\repos\Bitcoin\Bitcoin\Program.cs:line 23

itartinas commented 2 years ago

is there any alternatives or something?

NicolasDorier commented 2 years ago

Yes, sorry abitninja isn't really maintained anymore. You should use https://github.com/dgarage/NBXplorer/ instead. It is also easier as it tracks HD wallets directly for you and don't require a full indexing.