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.

  
  
Posted 5 months ago
Edited 5 months 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());
2
2
Posted 5 months ago
  
  

response.boc

Howard   5 months ago Report