构造nep5交易通过sendraw广播提示成功,但是没nep5交易记录

℉Nightmare`ヾ 6月前 380

源码来自你们github上面neo-thinsdk-java项目,nep5转账,这是构造后的一笔交易

d1004a14a1bc02aaf2dc95edb9847d8fd753ead11ecfd722148670927cb697ddc59b5479b33f3d5757a131a24c0101087472616e736665726763d26113bac4208254d98a3eebaee66230ead7b90001b3ba7b12d9320c19b64cdef087a001d8a0794d64b25d9128541b9420ea4109b8000001e72d286979ee6cb1b7e65dfddfb2e384100b8d148e7758de42e4168b71792c60e6d1df0300000000a1bc02aaf2dc95edb9847d8fd753ead11ecfd722014140989d30c6398aaa127f71a8990df6a9f6e7efdcdcd957ee3b692ba3b1142fe6a7d3605d4f63f0128bc13e894dc51247c0d7cb39ec7717eb3cb82129c6768eb2002321023d305322fd379d1111af9e61886abc568f017482c6a5cdb87fa623aceefd0370ac

广播之后,只转gas,nep5没数据

交易解析后的结构

{

  type: 209,

  version: 0,

  attributes: [],

  inputs:

   [ TransactionInput {

       prevHash:

        'b80941ea20941b5428915db2644d79a0d801a087f0de4cb6190c32d9127bbab3',

       prevIndex: 0 } ],

  outputs:

   [ TransactionOutput {

       assetId:

        '602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7',

       value: [Fixed8],

       scriptHash: '22d7cf1ed1ea53d78f7d84b9ed95dcf2aa02bca1' } ],

  scripts:

   [ Witness {

       _scriptHash: '',

       invocationScript:

        '40989d30c6398aaa127f71a8990df6a9f6e7efdcdcd957ee3b692ba3b1142fe6a7d3605d4f63f0128bc13e894dc51247c0d7cb39ec7717eb3cb82129c6768eb200',

       verificationScript:

        '21023d305322fd379d1111af9e61886abc568f017482c6a5cdb87fa623aceefd0370ac' } ],

  script:

   '14a1bc02aaf2dc95edb9847d8fd753ead11ecfd722148670927cb697ddc59b5479b33f3d5757a131a24c0101087472616e736665726763d26113bac4208254d98a3eebaee66230ead7b9',

  gas: Fixed8 { s: 1, e: 0, c: [ 0 ] } }

如何解决


最新回复 (5)
全部楼主
  • 0 2
    交易id方便贴以下么
  • 0 3
    构造合约调用scriptbuilder那块应该是构造错了,是不是多塞了一个0x01,你检查下代码
  • ℉Nightmare`ヾ 6月前
    0 4

    交易ID:9a6c09b7cf911c38bc7449ae7604ff1dcd6a1701caab9acf7a0bdf5bb7ac048e

    d1004a14a1bc02aaf2dc95edb9847d8fd753ead11ecfd722148670927cb697ddc59b5479b33f3d5757a131a24c0101087472616e73666572676d6e117953310c0a6dc79d0fcff59916dbdb7c5e000132e6d92dc94af7e942fc2c4a425147d7fb6c8ab4da0092af4bc0b51d23386775000001e72d286979ee6cb1b7e65dfddfb2e384100b8d148e7758de42e4168b71792c60e6d1df0300000000a1bc02aaf2dc95edb9847d8fd753ead11ecfd7220141406b034a0e377bc97c85551a1a18278fc4d5382423d6bd951e5ae9a6518f022f988e38a97c39a2ae7773da982616816bba7e87bceb1d243916ea5df1009f7813232321023d305322fd379d1111af9e61886abc568f017482c6a5cdb87fa623aceefd0370ac

    最后于 6月前 被℉Nightmare`ヾ编辑 ,原因:
  • ℉Nightmare`ヾ 6月前
    0 5

    代码中没有多塞入0x01

  • 0 6



    我这边解析你的合约调用是这个样子的

    你看下是不是sdk有什么问题

返回