Added gettransactions. Check for types inside arrays