我正在try 使用algorand-js-sdk.当将SignedTransaction传递给后端API时,该方法被剥离.我能在这里做些什么?
我正在try 使用algorand-js-sdk.当将SignedTransaction传递给后端API时,该方法被剥离.我能在这里做些什么?
更新:已解决此问题.
我将get_obj_for_encoding
方法修改为独立函数.为此,我必须在需要的地方将数组对象转换回Uint8Array和缓冲区.如果有内置的或更简单的方法来实现这一点,请 comments .
来源:https://github.com/algorand/js-algorand-sdk/blob/cfd5b88/src/transaction.ts#L534