def METHOD_NAME(self, tx_bytes: bytes, should_use_hash_signing: bool) -> str:
    ins_signing_method = SIGN_RAW_TX_INS
    if should_use_hash_signing:
        ins_signing_method = SIGN_HASH_TX_INS
    return self._do_sign(tx_bytes, ins_signing_method)