Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to retrieve balance from tracked source correctly? #471

Open
hparsafar opened this issue Jun 18, 2024 · 0 comments
Open

how to retrieve balance from tracked source correctly? #471

hparsafar opened this issue Jun 18, 2024 · 0 comments

Comments

@hparsafar
Copy link

hparsafar commented Jun 18, 2024

As I understand it, NBExplorer stores new blocks published on the network. Likewise, if a transaction is related to a tracked source, it stores it in its database. And it does not go to the previous transactions published in the network.

Considering this issue, how can it correctly return the balance of a tracked source if it does not look for transactions related to it in previous historical blocks?
For example, I imported an address of testNet Dogecoin whose balance is not zero, but when I got the balance, zero was returned.

address=https://sochain.com/address/DOGETEST/njXAPNFEjWSnVY8x3njF9sQ3KBTvVe4GQR
API = https://github.com/dgarage/NBXplorer/blob/master/docs/API.md#get-balance-of-tracked-sources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant