Skip to main content

ParsedInnterInstructionParsedInnerInstruction.index should correspond to the index of the outer instruction that houses the inner instruction.

So if parsedTransaction.meta.innerInstructions[0].index is say 1, then it means the outer instruction is parsedTransaction.transaction.message.instructions[1] is the parent.

ParsedInnterInstruction.index should correspond to the outer instruction that houses the inner instruction.

So if parsedTransaction.meta.innerInstructions[0].index is say 1, then it means the outer instruction is parsedTransaction.transaction.message.instructions[1] is the parent.

ParsedInnerInstruction.index should correspond to the index of the outer instruction that houses the inner instruction.

So if parsedTransaction.meta.innerInstructions[0].index is say 1, then it means the outer instruction is parsedTransaction.transaction.message.instructions[1] is the parent.

Source Link
sohrab
  • 1.9k
  • 5
  • 17

ParsedInnterInstruction.index should correspond to the outer instruction that houses the inner instruction.

So if parsedTransaction.meta.innerInstructions[0].index is say 1, then it means the outer instruction is parsedTransaction.transaction.message.instructions[1] is the parent.