-local access only
-added search for tx
-adapted for latest json