Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/v3/transactionsByMessage returns incomplete out_msgs #139

Open
slavikus opened this issue Oct 22, 2024 · 0 comments
Open

/v3/transactionsByMessage returns incomplete out_msgs #139

slavikus opened this issue Oct 22, 2024 · 0 comments

Comments

@slavikus
Copy link

When querying the transactions through /v3/transactionsByMessage endpoint, where the transaction has multiple out msgs, the resulting structure only contains one element in the out_msgs structure.

For example, querying for

{
            direction: "in",
            msg_hash: "JP18/POtau3Qtz3nO6wVVgImitCzlkxZnvqi8GZFCN8=",
            limit: 1,
            offset: 0
}

returns

{
  account: '0:1B84C5A8B28C5EA174C98BD4E5C34F4C1233D5BDD25EF63D270BA2BAAE8D1DD6',
  hash: 'aoCiw5oVNUXGmueyOxGGOAQgViYDxl5UAlCDuQKzBQU=',
  lt: '50179323000001',
  now: 1729616682,
  mc_block_seqno: 41317474,
  trace_id: 'aoCiw5oVNUXGmueyOxGGOAQgViYDxl5UAlCDuQKzBQU=',
  prev_trans_hash: 'heVamZVK7wyTgb5kOPtXNVGnRCqrv392eYXz/7u+bLc=',
  prev_trans_lt: '50179256000001',
  orig_status: 'active',
  end_status: 'active',
  total_fees: '5630983',
  description: {
    type: 'ord',
    aborted: false,
    destroyed: false,
    credit_first: true,
    storage_ph: { storage_fees_collected: '60', status_change: 'unchanged' },
    compute_ph: {
      skipped: false,
      success: true,
      msg_state_used: false,
      account_activated: false,
      gas_fees: '2583600',
      gas_used: '6459',
      gas_limit: '0',
      gas_credit: '10000',
      mode: 0,
      exit_code: 0,
      vm_steps: 150,
      vm_init_state_hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=',
      vm_final_state_hash: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='
    },
    action: {
      success: true,
      valid: true,
      no_funds: false,
      status_change: 'unchanged',
      total_fwd_fees: '2027200',
      total_action_fees: '675723',
      result_code: 0,
      tot_actions: 1,
      spec_actions: 0,
      skipped_actions: 0,
      msgs_created: 1,
      action_list_hash: 'tvmp0XijKr017yr0cah11DAJtR9IwzfG++2PgwXg6jM=',
      tot_msg_size: [Object]
    }
  },
  block_ref: { workchain: 0, shard: '2000000000000000', seqno: 46523885 },
  in_msg: {
    hash: 'JP18/POtau3Qtz3nO6wVVgImitCzlkxZnvqi8GZFCN8=',
    source: null,
    destination: '0:1B84C5A8B28C5EA174C98BD4E5C34F4C1233D5BDD25EF63D270BA2BAAE8D1DD6',
    value: null,
    fwd_fee: null,
    ihr_fee: null,
    created_lt: null,
    created_at: null,
    opcode: '0x39bc1c02',
    ihr_disabled: null,
    bounce: null,
    bounced: null,
    import_fee: '0',
    message_content: {
      hash: 'Qe4Ba7vTXHJnvVeR8RpzLVYqM7U+IRSZo4HgDrRPOO0=',
      body: 'te6cckECEAEAAhwAAYA5vBwC1LBofxmqLnhyy/IkxBISbmtWepIwLi4Zv+2VHfHgHwJQr4myl0l6FXr6Mct9R/ae+td0gtFKxzK6+ZUAAQElAAAQrQMADFQAAAAAzi+2HABwhAIBgGIADcJi1FlGL1C6ZMXqcuGnpgkZ6t7pL3sek4XRXVdGjusgJiWgAAAAAAAAAAAAAAAAAACuQuWkAAAAAAAABioDAgoOw8htAQQFAgoOw8htAQYHAGpCAFj2cogWZG2JvmpEkqJ90jrb7Rr24N3KveGuQ3vzN/SEKBIFKT0AAAAAAAAAAAAAAAAAAAIKDsPIbQEICQBqQgAYomSH4P+rpg21Z6WMmzbasnaFmoGfHyUc53lpKRmR5yg3N7V0gAAAAAAAAAAAAAAAAAACCg7DyG0BCgsAakIAX3FP3cIXzgFvaN4etTKFc9OoKimrbXITBkSAgCEp13QoFv0l5eAAAAAAAAAAAAAAAAAAAgoOw8htAQwNAGhCABg0DRxLGb1peOOi1N1cQnsphWwaGuVI05f6P/vLZX3VIrTSD4AAAAAAAAAAAAAAAAAAAgoOw8htAQ4PAGhCAAjAS3mhWwxTAOz578nT9bFt/0EwbSKTbHBFjhAPeG65o2E4lQAAAAAAAAAAAAAAAAAAAAAAakIAE7b6ASq1qUN8duOOQMAWeSt3PVNGg5TkKsxlgFOo6XUoDMk/qQAAAAAAAAAAAAAAAAAA1g3n7g==',
      decoded: null
    },
    init_state: null
  },
  out_msgs: [
    {
      hash: 'ebABnfPOYnnSRtGKSGgh7+88jwP/cDbORPqd8Amda4E=',
      source: '0:1B84C5A8B28C5EA174C98BD4E5C34F4C1233D5BDD25EF63D270BA2BAAE8D1DD6',
      destination: '0:1B84C5A8B28C5EA174C98BD4E5C34F4C1233D5BDD25EF63D270BA2BAAE8D1DD6',
      value: '80000000',
      fwd_fee: '1351477',
      ihr_fee: '0',
      created_lt: '50179323000002',
      created_at: '1729616682',
      opcode: '0xae42e5a4',
      ihr_disabled: true,
      bounce: true,
      bounced: false,
      import_fee: null,
      message_content: [Object],
      init_state: null
    }
  ],
  account_state_before: {
    hash: 't6/ibi06f1dhps5svubaA4BpbnS3cJXafwodXEOwDoo=',
    balance: '2018577657467142',
    account_status: 'active',
    frozen_hash: null,
    data_hash: '04eLc1xf0TSUbGoEWqRxVDR/ll/OPXdXtgZBo4KGzZk=',
    code_hash: 'EayteVWEQJDyg78ji8FEmHH3g+fMCXlAjT9IWUg+hSU='
  },
  account_state_after: {
    hash: 'OrzKyfjO+ALgEBZI3zp9kuHNQXh9AgWG12UL8EsXUO4=',
    balance: null,
    account_status: null,
    frozen_hash: null,
    data_hash: null,
    code_hash: null
  }
}

This issue persists for several days for any completed transactions we try to query for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant