How do I determine if the current transaction is an outgoing or an incoming transaction from looking at the following API response?
https://blockstream.info/api/address/1A6HUTtraLwTg48AwpQxPwLmTnDGSSJteG/txs
How do I determine if the current transaction is an outgoing or an incoming transaction from looking at the following API response?
https://blockstream.info/api/address/1A6HUTtraLwTg48AwpQxPwLmTnDGSSJteG/txs
If an address appears in the vout list, it is incoming for that address.
If the address is in the vin list, it is an outgoing transaction for that address.
Addresses may appear in both the vin and the vout.