front: simplify getRawTransaction