Badges 3Editor Eureka! Newbie
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());
i already solved this error. the error was in converting TON to nano using this "toNano()" function, this should be work as they mention in docs but it's giving error. so i had to remove that function and set static value.