remove unused raw scan function, simplify address extract from tx output