Moved Currency ID to json input, added valid_tx output