question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transaction is not listed

See original GitHub issue

I run NBXplorer with the following parameters while running a local Bitcoin node on Mainnet: ‘–btcrpcuser=myuser --btcrpcpassword=mypassword --btcstartheight=556452 --btcrescan=1’

This rescanned the Mainnet since the very end of 2018 without any errors.

Then I use Postman to run queries. Authentication works fine and NBXlporer looks synced, because I get back this while getting http://localhost:4774/v1/cryptos/btc/status

{ “bitcoinStatus”: { “blocks”: 592280, “headers”: 592280, “verificationProgress”: 0.999996599640577, “isSynched”: true, “incrementalRelayFee”: 1, “minRelayTxFee”: 1, “externalAddresses”: [ “2001:4c4e:2a11:2e00::806:8333”, “2001:4c4e:2a11:2e00:d44:5de0:ae2f:70d:8333”, “2001:4c4e:2a11:2e00:ac9c:6946:2f31:c729:8333” ], “capabilities”: { “canScanTxoutSet”: true, “canSupportSegwit”: true } }, “repositoryPingTime”: 0.00029, “isFullySynched”: true, “chainHeight”: 592280, “syncHeight”: 592280, “networkType”: “Mainnet”, “cryptoCode”: “BTC”, “supportedCryptoCodes”: [ “BTC” ], “version”: “2.0.0.56” }

I’d like to get some information about one particular transaction trying these two methods:

#A GET http://localhost:4774/v1/cryptos/btc/transactions/86394fa887bc615919e5c945d8e7977f64d77e7d7d4871683d0470120aaa82d9

It returns a 404 Not found error (although if I debug the code it enters the GetTransaction method on the MainController).

#B GET http://localhost:4774/v1/cryptos/btc/addresses/3BXnQJd46uRCNBq9YjxBroWeGyd9zqnoXN/transactions

It returns this:

{ “height”: 592280, “confirmedTransactions”: { “transactions”: [] }, “unconfirmedTransactions”: { “transactions”: [] }, “replacedTransactions”: { “transactions”: [] } }

If you look at the transaction in a public explorer here, you can see that it’s there and valid.

What do I miss here?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
NicolasDoriercommented, Sep 5, 2019

This is long story that requires you to understand BIP-32 (https://programmingblockchain.gitbook.io/programmingblockchain/)

0reactions
andrasfuchscommented, Sep 5, 2019

I read the API docs, and it’s surely my lack of knowledge, but I still don’t know how to use derivation schemes without seeing actual samples. It would be great to have same basic (maybe Postman) samples with the GET/POST requests and their typical responses there, so that we could imagine its workings better. For example I first thought that I need to paste the actual xpub1 or xpub-[legacy] string into the {dericationScheme} section of the URL. Later I realized that it must be some kind of identifier instead generated somewhere, but in the end I still couldn’t use that API. I’m still not sure if it would work with a non-HD wallet or an altcoin? Some clarification would be great in the documentation 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Some of my transactions are not showing up. How do I get ...
If you're using the NerdWallet app. 1. Tap the profile icon in the upper left-hand corner. 2. Tap Financial info. 3. Tap Linked...
Read more >
Why Might a Recent Transaction Not be Showing on My ...
There are various reasons why a recent purchase may not immediately show up in your account. Delays are often caused by your and...
Read more >
Why Is My Credit Card Transaction Not Showing Up?
One of the most common reasons for why credit card transactions may not appear on your account right away is that the merchant...
Read more >
Should You Be Worried if a Debit Card Transaction Not ...
There are several reasons why the purchase you made is not showing up in your account. These reasons range from a delay in...
Read more >
I'm Missing Some Transactions or New ...
Go to Tools > Account List and check Show Hidden Accounts at the bottom left. Confirm the missing transactions haven't been added to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found