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

Feedback for “Account Balance History” #37

Open
ericm301 opened this issue Nov 8, 2024 · 7 comments
Open

Feedback for “Account Balance History” #37

ericm301 opened this issue Nov 8, 2024 · 7 comments
Assignees

Comments

@ericm301
Copy link

ericm301 commented Nov 8, 2024

Transactions after 2024-10-31 are not loading.

Expected behavior:

  • All transactions should be shown, most recent first.

Actual behavior:

  • Only txs before 2024-11-01 are retrieved
  • No tx are shown for November

NOTE: The endpoint does retrieve values, so it's not an auth problem.

@ericm301
Copy link
Author

ericm301 commented Nov 8, 2024

Anybody?

@ong-ar
Copy link
Member

ong-ar commented Nov 11, 2024

@ericm301

If fromDateTime and toDateTime are not provided, the default is set to retrieve data for a one-month period from the current date. Adding specific values for these parameters will allow you to customize the date range as needed.

@ericm301
Copy link
Author

Here's my call, with no parameters:

curl  -X GET \
'https://apis.mintscan.io/v1/osmosis/accounts/osmo1m....9p5/balances' \
--header 'Accept: */*' \
--header 'User-Agent: Thunder Client (https://www.thunderclient.com)' \
--header 'Authorization: Bearer {{mintApiKey}}`

This gives me seemingly random results, all before 2024-11-02. Sometimes, it gives me 11-01, sometimes 10-31, sometimes earlier. It does seem that successive requests tend to older results.

I am not adding any query parameters to the avove requests. This, as mentioned above, should return the most recent 20 balance entries. I have about 15 transactions on this address since 2024-11-01, each of which should have an entry in the responses.

If I add fromDateTime=2024-11-01&toDateTime=2024-11-10 to my request, I only get one result, for 2024-11-01.

@ong-ar
Copy link
Member

ong-ar commented Nov 14, 2024

@ericm301

We are currently operating with physically distributed databases and have encountered a data inconsistency issue. We are actively working to resolve this synchronization bug. Thank you for notifying us of this matter.

@ericm301 ericm301 changed the title Feedback for “Account Transactions” Feedback for “Account Balance History” Nov 14, 2024
@ericm301
Copy link
Author

The data seems to be slowly catching up; it's at 2024-11-14 right now.

@wannabit-yongjoo
Copy link
Member

@ong-ar

@chicrock
Copy link
Member

We encountered some issues while updating the asset data structure.
We're currently working to catch up on the data, and it will be updated soon.

However, historical data from 11/14 to today may be lost.

Thanks.

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

4 participants