tron-api icon indicating copy to clipboard operation
tron-api copied to clipboard

离线签名,增加备注,签名失败

Open JZhao1020 opened this issue 3 years ago • 8 comments
trafficstars

{"code":"SIGERROR","txid":"247ea179c1a097ab3acafe9287faee19bdaf81da55768f88e169717726fd1d89","message":"56616c6964617465207369676e6174757265206572726f723a20646363313731316338313265633238336163663963376335623362333732393 03134316464373065646464326439356439333039343964613161333265323834326562303535303437396264633764363335356362346137336663633238353961353838636463393637396363346230333534613334666434663464373864383031206973207369676e6564206279205456324 a624152586d69684274504a593974466373524459484253586e4d6f64567220627574206974206973206e6f7420636f6e7461696e6564206f66207065726d697373696f6e2e"}

正常不加备注,可以提交上链,加了备注,则返回这个错误

JZhao1020 avatar Apr 18 '22 08:04 JZhao1020

我也遇到了这个问题,你解决了嘛

wuaidajiejie avatar May 13 '22 13:05 wuaidajiejie

我也遇到这个 问题了..请求官放 $transaction['raw_data']['data'] = $this->stringUtf8toHex('ssss' ); 加备注不行

amu1433 avatar May 13 '22 15:05 amu1433

我也遇到了这个问题,你解决了嘛

没有,官方都不回应的

JZhao1020 avatar May 27 '22 03:05 JZhao1020

我也遇到了这个问题了..请求官放 $transaction['raw_data']['data'] = $this->stringUtf8toHex('ssss' ); 备注加不行

现在如果需要加备注,就只能用链上签名接口,这个包是不支持的

JZhao1020 avatar May 27 '22 03:05 JZhao1020

是的,只能是自建节点然后在线签名了

wuaidajiejie avatar May 27 '22 11:05 wuaidajiejie

#133 提交了PR,等官方合并。或者自行参考了自己抽离出来使用也一样

ygcool avatar Jul 13 '22 01:07 ygcool

Good afternoon, I'm having the same problem, and I need to send the message in the transaction, I would like to know if this has already been fixed, or if there is a way to solve it by messing with the source

AgostinhoBarbosa avatar Aug 31 '22 17:08 AgostinhoBarbosa

Good afternoon, I'm having the same problem, and I need to send the message in the transaction, I would like to know if this has already been fixed, or if there is a way to solve it by messing with the source

现在发送消息已经没有意义了,在tron浏览器上用户查看不到消息

wuaidajiejie avatar Sep 01 '22 14:09 wuaidajiejie