'How to get transfer signatures of 0 decimal spl tokens?

I want to get spl token's, which 0 decimal, previous owner from the last owner.

When I check solscan's transfers tab I can see which wallets it has been transferred between. But on transactions tab I can only see the transaction which we are creating token account for other addresses.

Transfer tab
Transfer tab

Transaction tab
Transaction tab

import * as anchor from "@project-serum/anchor";
const connection = new anchor.web3.Connection("https://ssc-dao.genesysgo.net/", 'confirmed');
let txs=await connection.getTransaction("SPL TOKEN ADDRESS")
txs.map((element)=>{
  console.log(element.signature);
}); // Returns signatures where transaction tab.

Hence how can I get transfer list not transaction list.



Solution 1:[1]

To get the previous owner of an SPL token account, you'll need to go through a few steps:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jon C