how to find the first transaction