Everscale-Solidity. How to get hash from data encoded into cell? tvm.hash analogue?

99 Views Asked by At

Free TON Solidity. How to get hash from data encoded into cell? tvm.hash() analogue?

1

There are 1 best solutions below

0
Konstantin On BEST ANSWER

Do You need hash of BOC? Check this function https://github.com/tonlabs/TON-SDK/blob/master/docs/mod_boc.md#get_boc_hash

BOC with one CELL equal to CELL itself.

In fact BOC starts from root CELL which point to other CELLs.