Error: Cannot read properties of null using the Hedera Token Service with JS SDK

381 views Asked by At

In TokenMintTransaction and TokenBurnTransaction when I convert into bytes using .toBytes() and build a transaction from bytes using Transaction.fromBytes() I am getting this error: Cannot read properties of null (reading 'token' )

1

There are 1 answers

0
Waylon Jepsen On

This same issue was found here,

https://github.com/hashgraph/hedera-sdk-js/issues/447.

The issue is resolved by upgrading the SDK version from 2.0.15 to 2.0.25