blockfrost / blockfrost-js

Node.js SDK for the Blockfrost.io API.
https://blockfrost.io
Apache License 2.0
103 stars 25 forks source link

blockfrost api.epochsStakesByPoolIdAll it sometimes gives me wrong data. #287

Closed golddydev closed 1 year ago

golddydev commented 1 year ago

I am fetching delegators data using blockfrost api.

This is the function I use.

API.epochsStakesByPoolIdAll(epochNumber, poolId);

And it sometimes gave me wrong data (less than real) When I test at the very begining of epoch, and test with that epoch number.

For example, now epoch 436 just started, and I call

API.epochsStakesByPoolIdAll(436, poolId);

then it gave me wrong data (less than actual delegators)

Does this api need some time to prepare all of its data from blockchain?

slowbackspace commented 1 year ago

Hi @golddydev, sorry for the late reply. Are you still experiencing issue? Could you post an example of the call and inccorect response?

vladimirvolek commented 1 year ago

@golddydev If you still have the issue, feel free to reopen.

golddydev commented 11 months ago

Yeah, it is fixed, now.