How to get SOL transfers from a response getTransaction()
shinhagunn opened this issue · 2 comments
shinhagunn commented
yihau commented
if you only care about balance changes, there are four fields, pre/post balance and pre/post tokenBalance. you can use them to get the effect of this transaction.
if you would like to know more informations, you will need to parse instructions. there are two different instructions when you get a transaction: instruction and inner-instruction.