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
Unanswered
How to check what an account balance was at a specific unixtime?


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

https://toncenter.com/api/v2/#/accounts/get_address_balance_getAddressBalance_get

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:

https://toncenter.com/api/v2/#/accounts/get_transactions_getTransactions_get

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.

1
1
Posted one year ago
Jeremy
384 × 5 Administrator
154 Views
0 Answers
one year ago
one year ago