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
Answered
How we generate a Transaction Hash in the TON Blockchain?

As mentioned in this question: "3) Poll for the latest transactions from the Blockchain using your wallet account ID and match the transaction using the pre-generated hash" (source).

My question is, how is the transaction hash generated or calculated in general?

I understand that we have a public key for signing.

2
2
Posted one year ago
Edited one year ago
Votes Newest

Answers


You can generate hash with boc before transaction or after transaction with response boc.


const bocCell = TonWeb.boc.Cell.oneFromBoc(TonWeb.utils.base64ToBytes(response.boc));
        
const hash = TonWeb.utils.bytesToBase64(await bocCell.hash());
3
3
Posted one year ago
  
  

How can I generate hash with boc before transaction sir ?

hypn0t1z   one month ago Report