Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
How to check what an account balance was at a specific unixtime?

Is it possible to check what balance a specific wallet had in a specific moment in the past, given in unixtime? Is it possible to do that via Toncenter?

This question was imported from Telegram Chat: https://t.me/tondev/52245

Votes Newest


Unfortunately, the TON http-api does not allow you to specify a block when using getAddressBalance.


I suppose one way you could go about it is reconstructing the balance over time. Get all of the transactions until the block you're looking at is surpased:


You can try this with the getTransactions endpoint, just make sure that archival is on. Not an elegant solution, and be sure to test it out instead of taking my word for it.

Posted one year ago
384 × 5 Administrator
1 Answer
one year ago
one year ago