-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I have lots of user addresses, and when i want to check address transaction i use QBitNinja like this:
foreach (var uAddrModel in userAddresses)
{
BitcoinAddress btcAddr = BitcoinAddress.Create(uAddrModel.Address, CurrentBtcNetwork);
BalanceSelector balSel = new BalanceSelector(btcAddr.ScriptPubKey);
BalanceModel btcModel = client.GetBalance(balSel, false).Result; //here i get result which says
//that balance does not have operations, but i just recharged this specific address
if (btcModel.Operations.Count == 0)
{ continue; }
foreach (var operation in btcModel.Operations)
{
if (operation.Amount <= 0)
{ continue; }
bool isApproved = await CheckIfTxApprovedAsync(operation.TransactionId.ToString());
if (!isApproved)
{
isSuccess = await ApproveOperationAsync(operation, uAddrModel);
}
}
}
The problem is not with my code, it worked ok, but in some reason today it is not working, i really do not know what to do, and also i do not know other ways to send bitcoin.
Also when i want to send bitcoin i get this very strange result

Please help.
Metadata
Metadata
Assignees
Labels
No labels