Mulders Michiel
Mulders Michiel

Reputation: 98

How to get balance of a token or account for a specific timestamp?

I'm currently working in a project where I need to get balance of a token and accounts balances. I was wondering if you can retrieve the balance for yesterday or any other point in time, bot for tokens and Hbar (account balance)?

So far, I've tried to pull up all transactions for a specific timestamp to see if it includes the balance at that point of time. However the API does not return this information. Here are two queries I tried:

https://testnet.mirrornode.hedera.com/api/v1/transactions/0.0.10918-1680795651-328812066 transaction https://testnet.mirrornode.hedera.com/api/v1/tokens/0.0.3332842?timestamp=1680795000 token before the transaction

Let me know how I can retrieve the balance at a specific point in time?

Upvotes: 1

Views: 228

Answers (1)

Related Questions