diff --git a/parser.go b/parser.go index aea992c..e2453d3 100644 --- a/parser.go +++ b/parser.go @@ -224,6 +224,7 @@ func (tx *Tx) Parser() error { } } swap.InstrIdx = uint8(i) + swap.InnerIdx = uint8(j) tx.Swaps = append(tx.Swaps, swap) } // tx.Swaps = append(tx.Swaps, swaps...) diff --git a/tx.go b/tx.go index cca598c..8cc0182 100644 --- a/tx.go +++ b/tx.go @@ -13,6 +13,7 @@ type Swap struct { TxIndex int InstrIdx uint8 + InnerIdx uint8 Pool solana.PublicKey BaseMint solana.PublicKey